diff --git a/uds-android-theme-public-mobile/src/main/res/raw/Icon.json b/uds-android-theme-public-mobile/src/main/res/raw/Icon.json index fb41975..912dfd9 100644 --- a/uds-android-theme-public-mobile/src/main/res/raw/Icon.json +++ b/uds-android-theme-public-mobile/src/main/res/raw/Icon.json @@ -1,5 +1,9 @@ { "appearances": { + "background": { + "type": "variant", + "values": [true] + }, "color": { "description": "Use colour to change the colour", "type": "variant", @@ -13,6 +17,10 @@ "inverse" ] }, + "padding": { + "type": "variant", + "values": ["micro", "small", "medium", "large", "extraLarge"] + }, "size": { "description": "Use size to change the dimension of the icon", "type": "variant", @@ -20,6 +28,136 @@ } }, "rules": [ + { + "if": { + "padding": "micro" + }, + "tokens": { + "padding": 4, + "width": 4 + } + }, + { + "if": { + "padding": "small" + }, + "tokens": { + "padding": 4, + "width": 8 + } + }, + { + "if": { + "padding": "medium" + }, + "tokens": { + "padding": 4, + "width": 16 + } + }, + { + "if": { + "padding": "large" + }, + "tokens": { + "padding": 4, + "width": 24 + } + }, + { + "if": { + "padding": "extraLarge" + }, + "tokens": { + "padding": 4, + "width": 32 + } + }, + { + "if": { + "background": true, + "padding": "micro" + }, + "tokens": { + "backgroundColor": { + "red": 0.96078, + "green": 0.96078, + "blue": 0.96863, + "alpha": 1 + }, + "borderRadius": 45, + "padding": 4, + "width": 4 + } + }, + { + "if": { + "background": true, + "padding": "small" + }, + "tokens": { + "backgroundColor": { + "red": 0.96078, + "green": 0.96078, + "blue": 0.96863, + "alpha": 1 + }, + "borderRadius": 45, + "padding": 4, + "width": 8 + } + }, + { + "if": { + "background": true, + "padding": "medium" + }, + "tokens": { + "backgroundColor": { + "red": 0.96078, + "green": 0.96078, + "blue": 0.96863, + "alpha": 1 + }, + "borderRadius": 45, + "padding": 4, + "width": 16 + } + }, + { + "if": { + "background": true, + "padding": "large" + }, + "tokens": { + "backgroundColor": { + "red": 0.96078, + "green": 0.96078, + "blue": 0.96863, + "alpha": 1 + }, + "borderRadius": 45, + "padding": 4, + "width": 24 + } + }, + { + "if": { + "background": true, + "padding": "extraLarge" + }, + "tokens": { + "backgroundColor": { + "red": 0.96078, + "green": 0.96078, + "blue": 0.96863, + "alpha": 1 + }, + "borderRadius": 45, + "padding": 4, + "width": 32 + } + }, { "if": { "size": "micro" @@ -145,15 +283,24 @@ } ], "tokens": { + "backgroundColor": { + "red": 0, + "green": 0, + "blue": 0, + "alpha": 0 + }, + "borderRadius": 0, "color": { "red": 0.22353, "green": 0.25098, "blue": 0.33725, "alpha": 1 }, + "padding": 0, "scale": 1, "size": 24, "translateX": 0, - "translateY": 0 + "translateY": 0, + "width": 0 } } diff --git a/uds-android-theme-public-mobile/src/main/res/raw/ProductCard.json b/uds-android-theme-public-mobile/src/main/res/raw/ProductCard.json new file mode 100644 index 0000000..750bfaf --- /dev/null +++ b/uds-android-theme-public-mobile/src/main/res/raw/ProductCard.json @@ -0,0 +1,35 @@ +{ + "appearances": { + "viewport": { + "description": "The size label for the current screen viewport based on the current screen width", + "values": ["xs", "sm", "md", "lg", "xl"], + "type": "state" + } + }, + "rules": [ + { + "if": { + "viewport": ["xs", "sm", "md"] + }, + "tokens": { + "borderWidth": 0, + "paddingHorizontal": 24, + "paddingVertical": 0 + } + } + ], + "tokens": { + "borderColor": { + "red": 0.61176, + "green": 0.62353, + "blue": 0.66667, + "alpha": 1 + }, + "borderRadius": 6, + "borderStyle": "solid", + "borderWidth": 1, + "paddingHorizontal": 24, + "paddingVertical": 24, + "selectedButtonIcon": "PaletteIconCheckMark" + } +} diff --git a/uds-android-theme-public-mobile/src/main/res/raw/schema.json b/uds-android-theme-public-mobile/src/main/res/raw/schema.json index b3c9665..a86a9ec 100644 --- a/uds-android-theme-public-mobile/src/main/res/raw/schema.json +++ b/uds-android-theme-public-mobile/src/main/res/raw/schema.json @@ -264,13 +264,13 @@ }, { "const": "{system.border.zero}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.border.none}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" } ], "$id": "#border" @@ -499,13 +499,13 @@ }, { "const": "{system.color.transparent}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.color.none}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" } ], "$id": "#color" @@ -524,8 +524,8 @@ }, { "const": "{system.duration.zero}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" } ], "$id": "#duration" @@ -594,8 +594,8 @@ }, { "const": "{system.fontSize.none}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" } ], "$id": "#fontSize" @@ -609,8 +609,8 @@ }, { "const": "{system.gradient.none}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" } ], "$id": "#gradient" @@ -1154,8 +1154,8 @@ }, { "const": "{system.icon.none}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" } ], "$id": "#icon" @@ -1184,8 +1184,8 @@ }, { "const": "{system.letterSpacing.none}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" } ], "$id": "#letterSpacing" @@ -1344,8 +1344,8 @@ }, { "const": "{system.opacity.opaque}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" } ], "$id": "#opacity" @@ -1419,18 +1419,18 @@ }, { "const": "{system.radius.none}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.radius.zero}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.radius.round}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" } ], "$id": "#radius" @@ -1479,8 +1479,8 @@ }, { "const": "{system.shadow.none}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" } ], "$id": "#shadow" @@ -1739,48 +1739,48 @@ }, { "const": "{system.size.none}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.size.full}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.size.twoThirds}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.size.zero}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.size.viewportXs}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.size.viewportSm}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.size.viewportMd}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.size.viewportLg}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.size.viewportXl}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" } ], "$id": "#size" @@ -1819,18 +1819,18 @@ "anyOf": [ { "const": "{system.display.inline}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.display.inlineBlock}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.display.none}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" } ], "$id": "#display" @@ -1839,18 +1839,18 @@ "anyOf": [ { "const": "{system.flexJustifyContent.center}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.flexJustifyContent.flexStart}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.flexJustifyContent.spaceBetween}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" } ], "$id": "#flexJustifyContent" @@ -1859,18 +1859,18 @@ "anyOf": [ { "const": "{system.flexAlign.center}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.flexAlign.flexStart}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.flexAlign.stretch}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" } ], "$id": "#flexAlign" @@ -1879,63 +1879,63 @@ "anyOf": [ { "const": "{system.integer.0}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️\nAny integer value. The spacing scale uses 0-11", - "markdownDescription": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️\n\nAny integer value. The spacing scale uses `0-11`\n\n💡 Only `0-11` are suggested, but **any positive integer** is valid.\nSee [themes](https://telus.github.io/universal-design-system/docs/themes) docs." + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️\nAny integer value. The spacing scale uses 0-11", + "markdownDescription": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️\n\nAny integer value. The spacing scale uses `0-11`\n\n💡 Only `0-11` are suggested, but **any positive integer** is valid.\nSee [themes](https://telus.github.io/universal-design-system/docs/themes) docs." }, { "const": "{system.integer.1}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️\nAny integer value. The spacing scale uses 0-11", - "markdownDescription": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️\n\nAny integer value. The spacing scale uses `0-11`\n\n💡 Only `0-11` are suggested, but **any positive integer** is valid.\nSee [themes](https://telus.github.io/universal-design-system/docs/themes) docs." + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️\nAny integer value. The spacing scale uses 0-11", + "markdownDescription": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️\n\nAny integer value. The spacing scale uses `0-11`\n\n💡 Only `0-11` are suggested, but **any positive integer** is valid.\nSee [themes](https://telus.github.io/universal-design-system/docs/themes) docs." }, { "const": "{system.integer.2}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️\nAny integer value. The spacing scale uses 0-11", - "markdownDescription": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️\n\nAny integer value. The spacing scale uses `0-11`\n\n💡 Only `0-11` are suggested, but **any positive integer** is valid.\nSee [themes](https://telus.github.io/universal-design-system/docs/themes) docs." + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️\nAny integer value. The spacing scale uses 0-11", + "markdownDescription": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️\n\nAny integer value. The spacing scale uses `0-11`\n\n💡 Only `0-11` are suggested, but **any positive integer** is valid.\nSee [themes](https://telus.github.io/universal-design-system/docs/themes) docs." }, { "const": "{system.integer.3}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️\nAny integer value. The spacing scale uses 0-11", - "markdownDescription": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️\n\nAny integer value. The spacing scale uses `0-11`\n\n💡 Only `0-11` are suggested, but **any positive integer** is valid.\nSee [themes](https://telus.github.io/universal-design-system/docs/themes) docs." + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️\nAny integer value. The spacing scale uses 0-11", + "markdownDescription": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️\n\nAny integer value. The spacing scale uses `0-11`\n\n💡 Only `0-11` are suggested, but **any positive integer** is valid.\nSee [themes](https://telus.github.io/universal-design-system/docs/themes) docs." }, { "const": "{system.integer.4}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️\nAny integer value. The spacing scale uses 0-11", - "markdownDescription": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️\n\nAny integer value. The spacing scale uses `0-11`\n\n💡 Only `0-11` are suggested, but **any positive integer** is valid.\nSee [themes](https://telus.github.io/universal-design-system/docs/themes) docs." + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️\nAny integer value. The spacing scale uses 0-11", + "markdownDescription": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️\n\nAny integer value. The spacing scale uses `0-11`\n\n💡 Only `0-11` are suggested, but **any positive integer** is valid.\nSee [themes](https://telus.github.io/universal-design-system/docs/themes) docs." }, { "const": "{system.integer.5}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️\nAny integer value. The spacing scale uses 0-11", - "markdownDescription": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️\n\nAny integer value. The spacing scale uses `0-11`\n\n💡 Only `0-11` are suggested, but **any positive integer** is valid.\nSee [themes](https://telus.github.io/universal-design-system/docs/themes) docs." + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️\nAny integer value. The spacing scale uses 0-11", + "markdownDescription": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️\n\nAny integer value. The spacing scale uses `0-11`\n\n💡 Only `0-11` are suggested, but **any positive integer** is valid.\nSee [themes](https://telus.github.io/universal-design-system/docs/themes) docs." }, { "const": "{system.integer.6}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️\nAny integer value. The spacing scale uses 0-11", - "markdownDescription": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️\n\nAny integer value. The spacing scale uses `0-11`\n\n💡 Only `0-11` are suggested, but **any positive integer** is valid.\nSee [themes](https://telus.github.io/universal-design-system/docs/themes) docs." + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️\nAny integer value. The spacing scale uses 0-11", + "markdownDescription": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️\n\nAny integer value. The spacing scale uses `0-11`\n\n💡 Only `0-11` are suggested, but **any positive integer** is valid.\nSee [themes](https://telus.github.io/universal-design-system/docs/themes) docs." }, { "const": "{system.integer.7}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️\nAny integer value. The spacing scale uses 0-11", - "markdownDescription": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️\n\nAny integer value. The spacing scale uses `0-11`\n\n💡 Only `0-11` are suggested, but **any positive integer** is valid.\nSee [themes](https://telus.github.io/universal-design-system/docs/themes) docs." + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️\nAny integer value. The spacing scale uses 0-11", + "markdownDescription": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️\n\nAny integer value. The spacing scale uses `0-11`\n\n💡 Only `0-11` are suggested, but **any positive integer** is valid.\nSee [themes](https://telus.github.io/universal-design-system/docs/themes) docs." }, { "const": "{system.integer.8}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️\nAny integer value. The spacing scale uses 0-11", - "markdownDescription": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️\n\nAny integer value. The spacing scale uses `0-11`\n\n💡 Only `0-11` are suggested, but **any positive integer** is valid.\nSee [themes](https://telus.github.io/universal-design-system/docs/themes) docs." + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️\nAny integer value. The spacing scale uses 0-11", + "markdownDescription": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️\n\nAny integer value. The spacing scale uses `0-11`\n\n💡 Only `0-11` are suggested, but **any positive integer** is valid.\nSee [themes](https://telus.github.io/universal-design-system/docs/themes) docs." }, { "const": "{system.integer.9}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️\nAny integer value. The spacing scale uses 0-11", - "markdownDescription": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️\n\nAny integer value. The spacing scale uses `0-11`\n\n💡 Only `0-11` are suggested, but **any positive integer** is valid.\nSee [themes](https://telus.github.io/universal-design-system/docs/themes) docs." + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️\nAny integer value. The spacing scale uses 0-11", + "markdownDescription": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️\n\nAny integer value. The spacing scale uses `0-11`\n\n💡 Only `0-11` are suggested, but **any positive integer** is valid.\nSee [themes](https://telus.github.io/universal-design-system/docs/themes) docs." }, { "const": "{system.integer.10}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️\nAny integer value. The spacing scale uses 0-11", - "markdownDescription": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️\n\nAny integer value. The spacing scale uses `0-11`\n\n💡 Only `0-11` are suggested, but **any positive integer** is valid.\nSee [themes](https://telus.github.io/universal-design-system/docs/themes) docs." + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️\nAny integer value. The spacing scale uses 0-11", + "markdownDescription": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️\n\nAny integer value. The spacing scale uses `0-11`\n\n💡 Only `0-11` are suggested, but **any positive integer** is valid.\nSee [themes](https://telus.github.io/universal-design-system/docs/themes) docs." }, { "const": "{system.integer.11}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️\nAny integer value. The spacing scale uses 0-11", - "markdownDescription": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️\n\nAny integer value. The spacing scale uses `0-11`\n\n💡 Only `0-11` are suggested, but **any positive integer** is valid.\nSee [themes](https://telus.github.io/universal-design-system/docs/themes) docs." + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️\nAny integer value. The spacing scale uses 0-11", + "markdownDescription": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️\n\nAny integer value. The spacing scale uses `0-11`\n\n💡 Only `0-11` are suggested, but **any positive integer** is valid.\nSee [themes](https://telus.github.io/universal-design-system/docs/themes) docs." }, { "type": "string", @@ -1948,18 +1948,18 @@ "anyOf": [ { "const": "{system.textLine.none}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.textLine.underline}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.textLine.strikethrough}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" } ], "$id": "#textLine" @@ -1968,8 +1968,8 @@ "anyOf": [ { "const": "{system.textLineStyle.solid}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" } ], "$id": "#textLineStyle" @@ -1978,23 +1978,23 @@ "anyOf": [ { "const": "{system.position.bottom}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.position.left}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.position.right}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.position.top}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" } ], "$id": "#position" @@ -2003,18 +2003,18 @@ "anyOf": [ { "const": "{system.direction.column}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.direction.row}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.direction.rowReverse}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" } ], "$id": "#direction" @@ -2023,13 +2023,13 @@ "anyOf": [ { "const": "{system.show.true}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.show.false}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" } ], "$id": "#show" @@ -2038,13 +2038,13 @@ "anyOf": [ { "const": "{system.borderStyle.none}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.borderStyle.solid}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" } ], "$id": "#borderStyle" @@ -2053,18 +2053,18 @@ "anyOf": [ { "const": "{system.verticalAlign.top}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.verticalAlign.middle}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.verticalAlign.baseline}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" } ], "$id": "#verticalAlign" @@ -2073,18 +2073,18 @@ "anyOf": [ { "const": "{system.iconScale.scale1}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.iconScale.scale1_10}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.iconScale.scale1_25}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" } ], "$id": "#iconScale" @@ -2093,18 +2093,18 @@ "anyOf": [ { "const": "{system.textAlign.left}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.textAlign.center}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.textAlign.right}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" } ], "$id": "#textAlign" @@ -2113,13 +2113,13 @@ "anyOf": [ { "const": "{system.textTransform.none}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" }, { "const": "{system.textTransform.uppercase}", - "description": "@telus-uds/system-tokens/v0.7.37 system react-native tokens ⚙️", - "markdownDescription": "`@telus-uds/system-tokens/v0.7.37` **system** tokens ⚙️" + "description": "@telus-uds/system-tokens/v0.8.0 system react-native tokens ⚙️", + "markdownDescription": "`@telus-uds/system-tokens/v0.8.0` **system** tokens ⚙️" } ], "$id": "#textTransform" @@ -5087,6 +5087,108 @@ "rules" ] }, + "ProductCard": { + "type": "object", + "additionalProperties": false, + "properties": { + "appearances": { + "type": "object", + "additionalProperties": false, + "patternProperties": { + "^[a-z]+([A-Z0-9][a-z0-9]*)*$": { + "$ref": "#appearance" + } + } + }, + "tokens": { + "type": "object", + "additionalProperties": false, + "properties": { + "borderStyle": { + "$ref": "#borderStyle" + }, + "borderColor": { + "$ref": "#color" + }, + "borderWidth": { + "$ref": "#border" + }, + "borderRadius": { + "$ref": "#radius" + }, + "paddingHorizontal": { + "$ref": "#size" + }, + "paddingVertical": { + "$ref": "#size" + }, + "selectedButtonIcon": { + "$ref": "#icon" + } + }, + "required": [ + "borderStyle", + "borderColor", + "borderWidth", + "borderRadius", + "paddingHorizontal", + "paddingVertical", + "selectedButtonIcon" + ] + }, + "rules": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "if": { + "type": "object", + "minProperties": 1 + }, + "tokens": { + "type": "object", + "additionalProperties": false, + "properties": { + "borderStyle": { + "$ref": "#borderStyle" + }, + "borderColor": { + "$ref": "#color" + }, + "borderWidth": { + "$ref": "#border" + }, + "borderRadius": { + "$ref": "#radius" + }, + "paddingHorizontal": { + "$ref": "#size" + }, + "paddingVertical": { + "$ref": "#size" + }, + "selectedButtonIcon": { + "$ref": "#icon" + } + } + }, + "description": { + "type": "string" + } + }, + "required": [ + "if", + "tokens" + ] + } + } + }, + "required": [ + "tokens", + "rules" + ] + }, "ActivityIndicator": { "type": "object", "additionalProperties": false, @@ -9972,6 +10074,15 @@ "color": { "$ref": "#color" }, + "backgroundColor": { + "$ref": "#color" + }, + "borderRadius": { + "$ref": "#radius" + }, + "padding": { + "$ref": "#size" + }, "scale": { "$ref": "#integer" }, @@ -9980,14 +10091,21 @@ }, "translateY": { "$ref": "#size" + }, + "width": { + "$ref": "#size" } }, "required": [ "size", "color", + "backgroundColor", + "borderRadius", + "padding", "scale", "translateX", - "translateY" + "translateY", + "width" ] }, "rules": { @@ -10010,6 +10128,15 @@ "color": { "$ref": "#color" }, + "backgroundColor": { + "$ref": "#color" + }, + "borderRadius": { + "$ref": "#radius" + }, + "padding": { + "$ref": "#size" + }, "scale": { "$ref": "#integer" }, @@ -10018,6 +10145,9 @@ }, "translateY": { "$ref": "#size" + }, + "width": { + "$ref": "#size" } } }, @@ -20023,6 +20153,7 @@ "QuantitySelectorSideButton", "Footnote", "PriceLockup", + "ProductCard", "ActivityIndicator", "Badge", "BlockQuote", diff --git a/uds-android-theme-public-mobile/src/main/res/raw/theme.json b/uds-android-theme-public-mobile/src/main/res/raw/theme.json index 3c1399d..9899b7e 100644 --- a/uds-android-theme-public-mobile/src/main/res/raw/theme.json +++ b/uds-android-theme-public-mobile/src/main/res/raw/theme.json @@ -4374,6 +4374,10 @@ }, "Icon": { "appearances": { + "background": { + "type": "variant", + "values": [true] + }, "color": { "description": "Use colour to change the colour", "type": "variant", @@ -4387,6 +4391,10 @@ "inverse" ] }, + "padding": { + "type": "variant", + "values": ["micro", "small", "medium", "large", "extraLarge"] + }, "size": { "description": "Use size to change the dimension of the icon", "type": "variant", @@ -4394,6 +4402,136 @@ } }, "rules": [ + { + "if": { + "padding": "micro" + }, + "tokens": { + "padding": 4, + "width": 4 + } + }, + { + "if": { + "padding": "small" + }, + "tokens": { + "padding": 4, + "width": 8 + } + }, + { + "if": { + "padding": "medium" + }, + "tokens": { + "padding": 4, + "width": 16 + } + }, + { + "if": { + "padding": "large" + }, + "tokens": { + "padding": 4, + "width": 24 + } + }, + { + "if": { + "padding": "extraLarge" + }, + "tokens": { + "padding": 4, + "width": 32 + } + }, + { + "if": { + "background": true, + "padding": "micro" + }, + "tokens": { + "backgroundColor": { + "red": 0.96078, + "green": 0.96078, + "blue": 0.96863, + "alpha": 1 + }, + "borderRadius": 45, + "padding": 4, + "width": 4 + } + }, + { + "if": { + "background": true, + "padding": "small" + }, + "tokens": { + "backgroundColor": { + "red": 0.96078, + "green": 0.96078, + "blue": 0.96863, + "alpha": 1 + }, + "borderRadius": 45, + "padding": 4, + "width": 8 + } + }, + { + "if": { + "background": true, + "padding": "medium" + }, + "tokens": { + "backgroundColor": { + "red": 0.96078, + "green": 0.96078, + "blue": 0.96863, + "alpha": 1 + }, + "borderRadius": 45, + "padding": 4, + "width": 16 + } + }, + { + "if": { + "background": true, + "padding": "large" + }, + "tokens": { + "backgroundColor": { + "red": 0.96078, + "green": 0.96078, + "blue": 0.96863, + "alpha": 1 + }, + "borderRadius": 45, + "padding": 4, + "width": 24 + } + }, + { + "if": { + "background": true, + "padding": "extraLarge" + }, + "tokens": { + "backgroundColor": { + "red": 0.96078, + "green": 0.96078, + "blue": 0.96863, + "alpha": 1 + }, + "borderRadius": 45, + "padding": 4, + "width": 32 + } + }, { "if": { "size": "micro" @@ -4519,16 +4657,25 @@ } ], "tokens": { + "backgroundColor": { + "red": 0, + "green": 0, + "blue": 0, + "alpha": 0 + }, + "borderRadius": 0, "color": { "red": 0.22353, "green": 0.25098, "blue": 0.33725, "alpha": 1 }, + "padding": 0, "scale": 1, "size": 24, "translateX": 0, - "translateY": 0 + "translateY": 0, + "width": 0 } }, "IconButton": { @@ -6930,6 +7077,41 @@ "topTextMarginBottom": 4 } }, + "ProductCard": { + "appearances": { + "viewport": { + "description": "The size label for the current screen viewport based on the current screen width", + "values": ["xs", "sm", "md", "lg", "xl"], + "type": "state" + } + }, + "rules": [ + { + "if": { + "viewport": ["xs", "sm", "md"] + }, + "tokens": { + "borderWidth": 0, + "paddingHorizontal": 24, + "paddingVertical": 0 + } + } + ], + "tokens": { + "borderColor": { + "red": 0.61176, + "green": 0.62353, + "blue": 0.66667, + "alpha": 1 + }, + "borderRadius": 6, + "borderStyle": "solid", + "borderWidth": 1, + "paddingHorizontal": 24, + "paddingVertical": 24, + "selectedButtonIcon": "PaletteIconCheckMark" + } + }, "Progress": { "appearances": { "size": { @@ -11900,7 +12082,7 @@ } }, "metadata": { - "themeTokensVersion": "2.53.0", + "themeTokensVersion": "2.54.0", "name": "theme-public-mobile" } }