From 3c2cdc58f61bae4ef8c4879c1933a253e0bd3df1 Mon Sep 17 00:00:00 2001 From: Larz <1495261+larz0@users.noreply.github.com> Date: Thu, 15 Aug 2024 15:11:15 -0700 Subject: [PATCH 1/3] Added rating's sizing tokens and marked indicator tokens as deprecated --- .../spectrum2/layout.component/desktop.json | 44 ++++++++++++++++++- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/src/tokens-studio/spectrum2-non-colors/spectrum2/layout.component/desktop.json b/src/tokens-studio/spectrum2-non-colors/spectrum2/layout.component/desktop.json index 2e5c2b64..257851d7 100644 --- a/src/tokens-studio/spectrum2-non-colors/spectrum2/layout.component/desktop.json +++ b/src/tokens-studio/spectrum2-non-colors/spectrum2/layout.component/desktop.json @@ -3640,7 +3640,7 @@ } } }, - "rating-indicator-to-icon": { + "🚫 rating-indicator-to-icon": { "value": "4px", "type": "spacing", "$extensions": { @@ -3650,7 +3650,7 @@ } } }, - "rating-indicator-width": { + "🚫 rating-indicator-width": { "value": "18px", "type": "sizing", "$extensions": { @@ -3660,6 +3660,46 @@ } } }, + "rating-width-small": { + "value": "104px", + "type": "sizing", + "$extensions": { + "spectrum-tokens": { + "uuid": "", + "name": "rating-width-small" + } + } + }, + "rating-height-small": { + "value": "{component-height-75}", + "type": "sizing", + "$extensions": { + "spectrum-tokens": { + "uuid": "", + "name": "rating-height-small" + } + } + }, + "rating-width-medium": { + "value": "128px", + "type": "sizing", + "$extensions": { + "spectrum-tokens": { + "uuid": "", + "name": "rating-width-medium" + } + } + }, + "rating-height-medium": { + "value": "{component-height-100}", + "type": "sizing", + "$extensions": { + "spectrum-tokens": { + "uuid": "", + "name": "rating-height-medium" + } + } + }, "search-field-minimum-width-multiplier": { "value": "4", "type": "number", From f34901dee903a714ec45dfef71bbad2faa91d6c7 Mon Sep 17 00:00:00 2001 From: Larz <1495261+larz0@users.noreply.github.com> Date: Thu, 15 Aug 2024 15:36:41 -0700 Subject: [PATCH 2/3] Added rating's spacing tokens --- .../spectrum2/layout.component/desktop.json | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/src/tokens-studio/spectrum2-non-colors/spectrum2/layout.component/desktop.json b/src/tokens-studio/spectrum2-non-colors/spectrum2/layout.component/desktop.json index 257851d7..a66d035f 100644 --- a/src/tokens-studio/spectrum2-non-colors/spectrum2/layout.component/desktop.json +++ b/src/tokens-studio/spectrum2-non-colors/spectrum2/layout.component/desktop.json @@ -3650,6 +3650,66 @@ } } }, + "rating-top-to-content-area-small": { + "value": "{spacing-75}", + "type": "spacing", + "$extensions": { + "spectrum-tokens": { + "uuid": "", + "name": "rating-top-to-content-area-small" + } + } + }, + "rating-bottom-to-content-area-small": { + "value": "{spacing-75}", + "type": "spacing", + "$extensions": { + "spectrum-tokens": { + "uuid": "", + "name": "rating-bottom-to-content-area-small" + } + } + }, + "rating-edge-to-content-area-small": { + "value": "{spacing-75}", + "type": "spacing", + "$extensions": { + "spectrum-tokens": { + "uuid": "", + "name": "rating-edge-to-content-area-small" + } + } + }, + "rating-top-to-content-area-medium": { + "value": "6px", + "type": "spacing", + "$extensions": { + "spectrum-tokens": { + "uuid": "", + "name": "rating-top-to-content-area-medium" + } + } + }, + "rating-bottom-to-content-area-medium": { + "value": "6px", + "type": "spacing", + "$extensions": { + "spectrum-tokens": { + "uuid": "", + "name": "rating-bottom-to-content-area-medium" + } + } + }, + "rating-edge-to-content-area-medium": { + "value": "6px", + "type": "spacing", + "$extensions": { + "spectrum-tokens": { + "uuid": "", + "name": "rating-edge-to-content-area-medium" + } + } + }, "🚫 rating-indicator-width": { "value": "18px", "type": "sizing", From a58c0242c88f32dc49c6242cfee1e66bbb5924e7 Mon Sep 17 00:00:00 2001 From: Larz <1495261+larz0@users.noreply.github.com> Date: Thu, 29 Aug 2024 10:55:51 -0700 Subject: [PATCH 3/3] Added tokens for mobile --- .../spectrum2/layout.component/mobile.json | 104 +++++++++++++++++- 1 file changed, 102 insertions(+), 2 deletions(-) diff --git a/src/tokens-studio/spectrum2-non-colors/spectrum2/layout.component/mobile.json b/src/tokens-studio/spectrum2-non-colors/spectrum2/layout.component/mobile.json index cebe69c6..0067eae3 100644 --- a/src/tokens-studio/spectrum2-non-colors/spectrum2/layout.component/mobile.json +++ b/src/tokens-studio/spectrum2-non-colors/spectrum2/layout.component/mobile.json @@ -3660,7 +3660,7 @@ } } }, - "rating-indicator-to-icon": { + "🚫 rating-indicator-to-icon": { "value": "5px", "type": "spacing", "$extensions": { @@ -3670,7 +3670,67 @@ } } }, - "rating-indicator-width": { + "rating-top-to-content-area-small": { + "value": "{spacing-75}", + "type": "spacing", + "$extensions": { + "spectrum-tokens": { + "uuid": "", + "name": "rating-top-to-content-area-small" + } + } + }, + "rating-bottom-to-content-area-small": { + "value": "{spacing-75}", + "type": "spacing", + "$extensions": { + "spectrum-tokens": { + "uuid": "", + "name": "rating-bottom-to-content-area-small" + } + } + }, + "rating-edge-to-content-area-small": { + "value": "{spacing-75}", + "type": "spacing", + "$extensions": { + "spectrum-tokens": { + "uuid": "", + "name": "rating-edge-to-content-area-small" + } + } + }, + "rating-top-to-content-area-medium": { + "value": "6px", + "type": "spacing", + "$extensions": { + "spectrum-tokens": { + "uuid": "", + "name": "rating-top-to-content-area-medium" + } + } + }, + "rating-bottom-to-content-area-medium": { + "value": "6px", + "type": "spacing", + "$extensions": { + "spectrum-tokens": { + "uuid": "", + "name": "rating-bottom-to-content-area-medium" + } + } + }, + "rating-edge-to-content-area-medium": { + "value": "6px", + "type": "spacing", + "$extensions": { + "spectrum-tokens": { + "uuid": "", + "name": "rating-edge-to-content-area-medium" + } + } + }, + "🚫 rating-indicator-width": { "value": "22px", "type": "sizing", "$extensions": { @@ -3680,6 +3740,46 @@ } } }, + "rating-width-small": { + "value": "104px", + "type": "sizing", + "$extensions": { + "spectrum-tokens": { + "uuid": "", + "name": "rating-width-small" + } + } + }, + "rating-height-small": { + "value": "{component-height-75}", + "type": "sizing", + "$extensions": { + "spectrum-tokens": { + "uuid": "", + "name": "rating-height-small" + } + } + }, + "rating-width-medium": { + "value": "128px", + "type": "sizing", + "$extensions": { + "spectrum-tokens": { + "uuid": "", + "name": "rating-width-medium" + } + } + }, + "rating-height-medium": { + "value": "{component-height-100}", + "type": "sizing", + "$extensions": { + "spectrum-tokens": { + "uuid": "", + "name": "rating-height-medium" + } + } + }, "search-field-minimum-width-multiplier": { "value": "4", "type": "number",