@gsk_poc/components 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/styles/tokens.css +45 -45
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gsk_poc/components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "GSK custom component library with design tokens",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@gsk_poc/untitled-ui-base": "^0.1.
|
|
43
|
+
"@gsk_poc/untitled-ui-base": "^0.1.5",
|
|
44
44
|
"@tailwindcss/vite": "^4.1.17",
|
|
45
45
|
"react-is": "^19.2.1",
|
|
46
46
|
"tailwind-merge": "^3.4.0",
|
package/styles/tokens.css
CHANGED
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
--colors-brand-300: #f8a385;
|
|
134
134
|
--colors-brand-400: #f7855c;
|
|
135
135
|
--colors-brand-500: #f67547;
|
|
136
|
-
--colors-brand-600: #
|
|
136
|
+
--colors-brand-600: #ff7237;
|
|
137
137
|
--colors-brand-700: #dc3e05;
|
|
138
138
|
--colors-brand-800: #c33704;
|
|
139
139
|
--colors-brand-900: #a53208;
|
|
@@ -395,8 +395,8 @@
|
|
|
395
395
|
--colors-text-text-brand-primary-900: #a53208;
|
|
396
396
|
--colors-text-text-brand-secondary-700: #dc3e05;
|
|
397
397
|
--colors-text-text-brand-secondary-hover: #c33704;
|
|
398
|
-
--colors-text-text-brand-tertiary-600: #
|
|
399
|
-
--colors-text-text-brand-tertiary-alt: #
|
|
398
|
+
--colors-text-text-brand-tertiary-600: #ff7237;
|
|
399
|
+
--colors-text-text-brand-tertiary-alt: #ff7237;
|
|
400
400
|
--colors-text-text-error-primary-600: #c83629;
|
|
401
401
|
--colors-text-text-error-primary-hover: #b42318;
|
|
402
402
|
--colors-text-text-warning-primary-600: #ffc709;
|
|
@@ -408,7 +408,7 @@
|
|
|
408
408
|
--colors-border-border-disabled: #d7d3d0;
|
|
409
409
|
--colors-border-border-disabled-subtle: #e4e3e1;
|
|
410
410
|
--colors-border-border-brand: #f67547;
|
|
411
|
-
--colors-border-border-brand-alt: #
|
|
411
|
+
--colors-border-border-brand-alt: #ff7237;
|
|
412
412
|
--colors-border-border-error: #f04438;
|
|
413
413
|
--colors-border-border-error-subtle: #fda29b;
|
|
414
414
|
--colors-foreground-fg-primary-900: #151515;
|
|
@@ -421,11 +421,11 @@
|
|
|
421
421
|
--colors-foreground-fg-white: #ffffff;
|
|
422
422
|
--colors-foreground-fg-disabled: #d7d3d0;
|
|
423
423
|
--colors-foreground-fg-disabled-subtle: #e4e3e1;
|
|
424
|
-
--colors-foreground-fg-brand-primary-600: #
|
|
425
|
-
--colors-foreground-fg-brand-primary-alt: #
|
|
424
|
+
--colors-foreground-fg-brand-primary-600: #ff7237;
|
|
425
|
+
--colors-foreground-fg-brand-primary-alt: #ff7237;
|
|
426
426
|
--colors-foreground-fg-brand-secondary-500: #f67547;
|
|
427
427
|
--colors-foreground-fg-brand-secondary-alt: #f67547;
|
|
428
|
-
--colors-foreground-fg-brand-secondary-hover: #
|
|
428
|
+
--colors-foreground-fg-brand-secondary-hover: #ff7237;
|
|
429
429
|
--colors-foreground-fg-error-primary: #c83629;
|
|
430
430
|
--colors-foreground-fg-error-secondary: #f04438;
|
|
431
431
|
--colors-foreground-fg-warning-primary: #ffc709;
|
|
@@ -450,9 +450,9 @@
|
|
|
450
450
|
--colors-background-bg-brand-primary: #fef4f0;
|
|
451
451
|
--colors-background-bg-brand-primary-alt: #fef4f0;
|
|
452
452
|
--colors-background-bg-brand-secondary: #fde0d6;
|
|
453
|
-
--colors-background-bg-brand-solid: #
|
|
453
|
+
--colors-background-bg-brand-solid: #ff7237;
|
|
454
454
|
--colors-background-bg-brand-solid-hover: #dc3e05;
|
|
455
|
-
--colors-background-bg-brand-section: #
|
|
455
|
+
--colors-background-bg-brand-section: #ff7237;
|
|
456
456
|
--colors-background-bg-brand-section-subtle: #dc3e05;
|
|
457
457
|
--colors-background-bg-error-primary: #fef3f2;
|
|
458
458
|
--colors-background-bg-error-secondary: #fee4e2;
|
|
@@ -571,8 +571,8 @@
|
|
|
571
571
|
--component-colors-utility-brand-utility-brand-400-alt: #f7855c;
|
|
572
572
|
--component-colors-utility-brand-utility-brand-500: #f67547;
|
|
573
573
|
--component-colors-utility-brand-utility-brand-500-alt: #f67547;
|
|
574
|
-
--component-colors-utility-brand-utility-brand-600: #
|
|
575
|
-
--component-colors-utility-brand-utility-brand-600-alt: #
|
|
574
|
+
--component-colors-utility-brand-utility-brand-600: #ff7237;
|
|
575
|
+
--component-colors-utility-brand-utility-brand-600-alt: #ff7237;
|
|
576
576
|
--component-colors-utility-brand-utility-brand-700: #dc3e05;
|
|
577
577
|
--component-colors-utility-brand-utility-brand-700-alt: #dc3e05;
|
|
578
578
|
--component-colors-utility-brand-utility-brand-800: #c33704;
|
|
@@ -698,16 +698,16 @@
|
|
|
698
698
|
--component-colors-components-buttons-button-destructive-primary-icon: #fda29b;
|
|
699
699
|
--component-colors-components-buttons-button-destructive-primary-icon-hover: #fecdca;
|
|
700
700
|
--component-colors-components-buttons-primary-button-primary-fg: #ffffff;
|
|
701
|
-
--component-colors-components-buttons-primary-button-primary-bg: #
|
|
701
|
+
--component-colors-components-buttons-primary-button-primary-bg: #ff7237;
|
|
702
702
|
--component-colors-components-buttons-primary-button-primary-border: rgba(255, 255, 255, 0.12);
|
|
703
703
|
--component-colors-components-buttons-secondary-button-secondary-fg: #44403c;
|
|
704
704
|
--component-colors-components-buttons-tertiary-color-button-tertiary-color-fg: #dc3e05;
|
|
705
705
|
--component-colors-components-buttons-tertiary-error-button-tertiary-error-fg: #b42318;
|
|
706
706
|
--component-colors-components-footers-footer-button-fg: #fac2ad;
|
|
707
707
|
--component-colors-components-footers-footer-button-fg-hover: #ffffff;
|
|
708
|
-
--component-colors-components-icons-icons-icon-fg-brand: #
|
|
708
|
+
--component-colors-components-icons-icons-icon-fg-brand: #ff7237;
|
|
709
709
|
--component-colors-components-icons-icons-icon-fg-brand-on-brand: #fac2ad;
|
|
710
|
-
--component-colors-components-icons-featured-icons-featured-icon-light-fg-brand: #
|
|
710
|
+
--component-colors-components-icons-featured-icons-featured-icon-light-fg-brand: #ff7237;
|
|
711
711
|
--component-colors-components-icons-featured-icons-featured-icon-light-fg-gray: #79716b;
|
|
712
712
|
--component-colors-components-icons-featured-icons-featured-icon-light-fg-error: #c83629;
|
|
713
713
|
--component-colors-components-icons-featured-icons-featured-icon-light-fg-warning: #ffc709;
|
|
@@ -715,10 +715,10 @@
|
|
|
715
715
|
--component-colors-components-icons-featured-icons-dark-featured-icon-dark-fg-brand: #ffffff;
|
|
716
716
|
--component-colors-components-mockups-screen-mockup-border: #151515;
|
|
717
717
|
--component-colors-components-sliders-slider-handle-bg: #ffffff;
|
|
718
|
-
--component-colors-components-sliders-slider-handle-border: #
|
|
718
|
+
--component-colors-components-sliders-slider-handle-border: #ff7237;
|
|
719
719
|
--component-colors-components-toggles-toggle-button-fg-disabled: #f7f6f5;
|
|
720
720
|
--component-colors-components-toggles-toggle-border: #d7d3d0;
|
|
721
|
-
--component-colors-components-toggles-toggle-slim-border-pressed: #
|
|
721
|
+
--component-colors-components-toggles-toggle-slim-border-pressed: #ff7237;
|
|
722
722
|
--component-colors-components-toggles-toggle-slim-border-pressed-hover: #dc3e05;
|
|
723
723
|
--component-colors-components-tooltips-tooltip-supporting-text: #d7d3d0;
|
|
724
724
|
--component-colors-components-text-editor-text-editor-icon-fg: #a9a29d;
|
|
@@ -736,19 +736,25 @@
|
|
|
736
736
|
--width-5xl: 1600px;
|
|
737
737
|
--width-6xl: 1920px;
|
|
738
738
|
--paragraph-max-width: 720px;
|
|
739
|
-
--
|
|
740
|
-
--
|
|
741
|
-
--
|
|
742
|
-
--
|
|
743
|
-
--
|
|
744
|
-
--
|
|
745
|
-
--
|
|
746
|
-
--
|
|
747
|
-
--
|
|
748
|
-
--
|
|
749
|
-
--
|
|
739
|
+
--spacing-none: 0px;
|
|
740
|
+
--spacing-xxs: 2px;
|
|
741
|
+
--spacing-xs: 4px;
|
|
742
|
+
--spacing-sm: 6px;
|
|
743
|
+
--spacing-md: 8px;
|
|
744
|
+
--spacing-lg: 12px;
|
|
745
|
+
--spacing-xl: 16px;
|
|
746
|
+
--spacing-2xl: 20px;
|
|
747
|
+
--spacing-3xl: 24px;
|
|
748
|
+
--spacing-4xl: 32px;
|
|
749
|
+
--spacing-5xl: 40px;
|
|
750
|
+
--spacing-6xl: 48px;
|
|
751
|
+
--spacing-7xl: 64px;
|
|
752
|
+
--spacing-8xl: 80px;
|
|
753
|
+
--spacing-9xl: 96px;
|
|
754
|
+
--spacing-10xl: 128px;
|
|
755
|
+
--spacing-11xl: 160px;
|
|
750
756
|
--font-family-font-family-display: GSK Precision;
|
|
751
|
-
--font-family-font-family-body:
|
|
757
|
+
--font-family-font-family-body: Arial;
|
|
752
758
|
--font-weight-regular: Regular;
|
|
753
759
|
--font-weight-regular-italic: Italic;
|
|
754
760
|
--font-weight-medium: Regular;
|
|
@@ -783,23 +789,17 @@
|
|
|
783
789
|
--line-height-display-lg: 60px;
|
|
784
790
|
--line-height-display-xl: 72px;
|
|
785
791
|
--line-height-display-2xl: 90px;
|
|
786
|
-
--
|
|
787
|
-
--
|
|
788
|
-
--
|
|
789
|
-
--
|
|
790
|
-
--
|
|
791
|
-
--
|
|
792
|
-
--
|
|
793
|
-
--
|
|
794
|
-
--
|
|
795
|
-
--
|
|
796
|
-
--
|
|
797
|
-
--spacing-6xl: 48px;
|
|
798
|
-
--spacing-7xl: 64px;
|
|
799
|
-
--spacing-8xl: 80px;
|
|
800
|
-
--spacing-9xl: 96px;
|
|
801
|
-
--spacing-10xl: 128px;
|
|
802
|
-
--spacing-11xl: 160px;
|
|
792
|
+
--radius-none: 0;
|
|
793
|
+
--radius-xxs: 0.125rem;
|
|
794
|
+
--radius-xs: 0.25rem;
|
|
795
|
+
--radius-sm: 0.375rem;
|
|
796
|
+
--radius-md: 0.5rem;
|
|
797
|
+
--radius-lg: 0.625rem;
|
|
798
|
+
--radius-xl: 0.75rem;
|
|
799
|
+
--radius-2xl: 1rem;
|
|
800
|
+
--radius-3xl: 1.25rem;
|
|
801
|
+
--radius-4xl: 1.5rem;
|
|
802
|
+
--radius-full: 9999px;
|
|
803
803
|
--container-padding-mobile: 16px;
|
|
804
804
|
--container-padding-desktop: 32px;
|
|
805
805
|
--container-max-width-desktop: 1280px;
|