@post-pioneer/ui-kit 0.1.1 → 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/README.md +8 -5
- package/dist/style.css +1 -1
- package/dist/ui-kit-postpioneer.es.js +112 -88
- package/dist/ui-kit-postpioneer.umd.js +4 -4
- package/package.json +12 -11
package/README.md
CHANGED
|
@@ -97,11 +97,14 @@ import { Card } from '@post-pioneer/ui-kit';
|
|
|
97
97
|
|
|
98
98
|
```css
|
|
99
99
|
:root {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
100
|
+
--shadow-bottom-s:
|
|
101
|
+
0 0 8px rgba(68, 83, 113, 0.1),
|
|
102
|
+
0 2px 4px rgba(68, 83, 113, 0.05);
|
|
103
|
+
|
|
104
|
+
/* Medium shadow */
|
|
105
|
+
--shadow-bottom-m:
|
|
106
|
+
0 0 16px rgba(68, 83, 113, 0.1),
|
|
107
|
+
0 4px 8px rgba(68, 83, 113, 0.05);}
|
|
105
108
|
```
|
|
106
109
|
|
|
107
110
|
### SCSS Переменные
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
._button_tzcn1_1{padding:12px 24px;border:none;border-radius:4px;cursor:pointer;font-size:16px}._button_tzcn1_1._primary_tzcn1_8{background-color:#1976d2;color:#fff}._button_tzcn1_1._secondary_tzcn1_12{background-color:#dc004e;color:#fff}
|
|
1
|
+
@charset "UTF-8";:root{--radius-zero: 0rem;--radius-s: .25rem;--radius-m: .5rem;--radius-l: 1rem;--radius-full: 5rem;--border-radius-zero: var(--radius-zero);--border-radius-s: var(--radius-s);--border-radius-m: var(--radius-m);--border-radius-l: var(--radius-l);--border-radius-full: var(--radius-full);--size-2xs: .25rem;--size-xs: .5rem;--size-s: .75rem;--size-m: 1rem;--size-l: 1.25rem;--size-xl: 1.5rem;--size-2xl: 1.75rem;--size-3xl: 2rem;--size-4xl: 2.25rem;--size-5xl: 2.5rem;--size-6xl: 3rem;--size-7xl: 3.5rem;--size-8xl: 4rem;--size-9xl: 4.5rem;--size-10xl: 6.25rem;--size-zero: 0rem;--size-full: 5rem;--size-component-xs: var(--size-2xs);--size-component-s: var(--size-s);--size-component-m: var(--size-m);--size-component-l: var(--size-l);--size-component-xl: var(--size-xl);--shadow-bottom-s: 0 0 8px rgba(68, 83, 113, .1), 0 2px 4px rgba(68, 83, 113, .05);--shadow-bottom-m: 0 0 16px rgba(68, 83, 113, .1), 0 4px 8px rgba(68, 83, 113, .05);--shadow-bottom-l: 0 0 20px rgba(68, 83, 113, .1), 0 12px 20px rgba(68, 83, 113, .05);--shadow-bottom-xl: 0 0 32px rgba(68, 83, 113, .1), 0 32px 32px rgba(68, 83, 113, .05);--shadow-s: var(--shadow-bottom-s);--shadow-m: var(--shadow-bottom-m);--shadow-l: var(--shadow-bottom-l);--shadow-xl: var(--shadow-bottom-xl);--shadow-color: rgba(68, 83, 113, .1);--shadow-color-secondary: rgba(68, 83, 113, .05);--spacing-zero: 0rem;--spacing-3xs: .125rem;--spacing-2xs: .25rem;--spacing-xs: .5rem;--spacing-s: .75rem;--spacing-m: 1rem;--spacing-l: 1.25rem;--spacing-xl: 1.5rem;--spacing-2xl: 1.75rem;--spacing-3xl: 2rem;--spacing-4xl: 2.5rem;--spacing-5xl: 3rem;--spacing-6xl: 3.5rem;--spacing-7xl: 4rem;--spacing-8xl: 4.5rem;--spacing-9xl: 5rem;--spacing-10xl: 6rem;--spacing-11xl: 7.5rem;--spacing-12xl: 10rem;--gap-zero: var(--spacing-zero);--gap-3xs: var(--spacing-3xs);--gap-2xs: var(--spacing-2xs);--gap-xs: var(--spacing-xs);--gap-s: var(--spacing-s);--gap-m: var(--spacing-m);--gap-l: var(--spacing-l);--gap-xl: var(--spacing-xl);--gap-2xl: var(--spacing-2xl);--gap-3xl: var(--spacing-3xl);--gap-4xl: var(--spacing-4xl);--gap-5xl: var(--spacing-5xl);--gap-6xl: var(--spacing-6xl);--gap-7xl: var(--spacing-7xl);--gap-8xl: var(--spacing-8xl);--gap-9xl: var(--spacing-9xl);--gap-10xl: var(--spacing-10xl);--gap-11xl: var(--spacing-11xl);--gap-12xl: var(--spacing-12xl);--padding-zero: var(--spacing-zero);--padding-3xs: var(--spacing-3xs);--padding-2xs: var(--spacing-2xs);--padding-xs: var(--spacing-xs);--padding-s: var(--spacing-s);--padding-m: var(--spacing-m);--padding-l: var(--spacing-l);--padding-xl: var(--spacing-xl);--padding-2xl: var(--spacing-2xl);--padding-3xl: var(--spacing-3xl);--padding-4xl: var(--spacing-4xl);--padding-5xl: var(--spacing-5xl);--padding-6xl: var(--spacing-6xl);--padding-7xl: var(--spacing-7xl);--padding-8xl: var(--spacing-8xl);--padding-9xl: var(--spacing-9xl);--padding-10xl: var(--spacing-10xl);--padding-11xl: var(--spacing-11xl);--padding-12xl: var(--spacing-12xl);--border-width-zero: 0px;--border-width-s: 1px;--border-width-m: 2px;--border-width-divider: 1px;--border-style-solid: solid;--border-style-dashed: dashed;--border-style-dotted: dotted;--border-color-default: var(--color-border-default);--border-color-focus: var(--color-border-focus);--border-color-divider: var(--color-border-divider);--border-zero: var(--border-width-zero) var(--border-style-solid) var(--border-color-default);--border-s: var(--border-width-s) var(--border-style-solid) var(--border-color-default);--border-m: var(--border-width-m) var(--border-style-solid) var(--border-color-focus);--border-divider: var(--border-width-divider) var(--border-style-solid) var(--border-color-divider);--border-focus: var(--border-width-m) var(--border-style-solid) var(--border-color-focus);--divider: var(--border-width-divider) var(--border-style-solid) var(--border-color-divider)}:root{--color-blue-gray-25: rgba(246, 248, 250, 1);--color-blue-gray-35: rgba(242, 244, 247, 1);--color-blue-gray-50: rgba(235, 237, 240, 1);--color-blue-gray-100: rgba(223, 226, 231, 1);--color-blue-gray-200: rgba(211, 216, 222, 1);--color-blue-gray-300: rgba(188, 196, 205, 1);--color-blue-gray-400: rgba(170, 180, 192, 1);--color-blue-gray-500: rgba(150, 162, 177, 1);--color-blue-gray-600: rgba(126, 141, 159, 1);--color-blue-gray-700: rgba(98, 113, 132, 1);--color-blue-gray-800: rgba(83, 95, 111, 1);--color-blue-gray-900: rgba(46, 54, 63, 1);--color-gray-25: rgba(252, 252, 253, 1);--color-gray-35: rgba(248, 249, 250, 1);--color-gray-50: rgba(243, 245, 247, 1);--color-gray-100: rgba(238, 240, 242, 1);--color-gray-200: rgba(219, 222, 227, 1);--color-gray-300: rgba(206, 209, 217, 1);--color-gray-400: rgba(185, 189, 199, 1);--color-gray-500: rgba(156, 162, 176, 1);--color-gray-600: rgba(122, 128, 144, 1);--color-gray-700: rgba(95, 100, 113, 1);--color-gray-800: rgba(55, 59, 67, 1);--color-gray-900: rgba(39, 45, 55, 1);--color-indigo-25: rgba(245, 247, 255, 1);--color-indigo-35: rgba(240, 243, 255, 1);--color-indigo-50: rgba(235, 239, 255, 1);--color-indigo-100: rgba(224, 230, 255, 1);--color-indigo-200: rgba(214, 221, 255, 1);--color-indigo-300: rgba(189, 198, 255, 1);--color-indigo-400: rgba(168, 175, 255, 1);--color-indigo-500: rgba(148, 146, 251, 1);--color-indigo-600: rgba(85, 82, 239, 1);--color-indigo-700: rgba(67, 64, 220, 1);--color-indigo-800: rgba(39, 36, 198, 1);--color-indigo-900: rgba(30, 29, 99, 1);--color-success-50: rgba(229, 247, 230, 1);--color-success-100: rgba(202, 239, 206, 1);--color-success-200: rgba(164, 226, 170, 1);--color-success-300: rgba(129, 210, 136, 1);--color-success-400: rgba(93, 193, 104, 1);--color-success-500: rgba(50, 167, 62, 1);--color-success-600: rgba(20, 146, 33, 1);--color-success-700: rgba(11, 122, 22, 1);--color-success-800: rgba(4, 96, 14, 1);--color-success-900: rgba(3, 74, 11, 1);--color-warning-50: rgba(254, 240, 232, 1);--color-warning-100: rgba(253, 226, 208, 1);--color-warning-200: rgba(252, 204, 173, 1);--color-warning-300: rgba(251, 182, 138, 1);--color-warning-400: rgba(250, 160, 102, 1);--color-warning-500: rgba(248, 131, 55, 1);--color-warning-600: rgba(235, 104, 19, 1);--color-warning-700: rgba(198, 87, 16, 1);--color-warning-800: rgba(148, 65, 12, 1);--color-warning-900: rgba(111, 49, 9, 1);--color-danger-25: rgba(255, 232, 231, 1);--color-danger-50: rgba(255, 232, 231, 1);--color-danger-100: rgba(255, 208, 207, 1);--color-danger-200: rgba(255, 175, 171, 1);--color-danger-300: rgba(255, 141, 135, 1);--color-danger-400: rgba(248, 112, 105, 1);--color-danger-500: rgba(241, 83, 75, 1);--color-danger-600: rgba(226, 62, 54, 1);--color-danger-700: rgba(215, 34, 25, 1);--color-danger-800: rgba(191, 26, 18, 1);--color-danger-900: rgba(116, 11, 5, 1);--color-text-inverse: var(--color-blue-gray-900);--color-text-white: rgba(255, 255, 255, 1);--color-text-secondary: var(--color-blue-gray-700);--color-text-disabled: var(--color-blue-gray-700);--color-text-light: rgba(242, 244, 247, 1);--color-text-divider: var(--color-blue-gray-100);--color-background-overlay: var(--color-white-alpha-40);--color-background-page: var(--color-white-alpha-100);--color-background-surface-1: var(--color-white-alpha-100);--color-background-surface-2: var(--color-gray-100);--color-background-surface-3: var(--color-gray-200);--color-background-surface-4: var(--color-gray-300);--color-disabled-1: var(--color-blue-gray-25);--color-disabled-2: var(--color-blue-gray-100);--color-disabled-3: var(--color-blue-gray-400);--color-disabled-4: var(--color-blue-gray-500);--color-fuchsia-50: rgba(250, 237, 253, 1);--color-fuchsia-100: rgba(243, 219, 250, 1);--color-fuchsia-200: rgba(234, 191, 245, 1);--color-fuchsia-300: rgba(218, 153, 238, 1);--color-fuchsia-400: rgba(208, 129, 230, 1);--color-fuchsia-500: rgba(176, 72, 204, 1);--color-fuchsia-600: rgba(158, 46, 189, 1);--color-fuchsia-700: rgba(130, 30, 158, 1);--color-fuchsia-800: rgba(101, 18, 123, 1);--color-fuchsia-900: rgba(77, 10, 96, 1);--color-purple-50: rgba(245, 240, 253, 1);--color-purple-100: rgba(226, 211, 249, 1);--color-purple-200: rgba(216, 195, 247, 1);--color-purple-300: rgba(190, 151, 247, 1);--color-purple-400: rgba(176, 133, 239, 1);--color-purple-500: rgba(133, 67, 230, 1);--color-purple-600: rgba(111, 34, 226, 1);--color-purple-700: rgba(89, 27, 181, 1);--color-purple-800: rgba(67, 20, 136, 1);--color-purple-900: rgba(50, 15, 102, 1);--color-blue-50: rgba(233, 237, 252, 1);--color-blue-100: rgba(211, 220, 248, 1);--color-blue-200: rgba(190, 202, 245, 1);--color-blue-300: rgba(154, 174, 244, 1);--color-blue-400: rgba(124, 149, 235, 1);--color-blue-500: rgba(81, 113, 229, 1);--color-blue-600: rgba(37, 78, 222, 1);--color-blue-700: rgba(30, 62, 178, 1);--color-blue-800: rgba(22, 47, 133, 1);--color-blue-900: rgba(19, 39, 111, 1);--color-sky-blue-50: rgba(222, 242, 255, 1);--color-sky-blue-100: rgba(200, 235, 255, 1);--color-sky-blue-200: rgba(177, 226, 255, 1);--color-sky-blue-300: rgba(131, 210, 255, 1);--color-sky-blue-400: rgba(85, 190, 250, 1);--color-sky-blue-500: rgba(45, 169, 241, 1);--color-sky-blue-600: rgba(30, 146, 213, 1);--color-sky-blue-700: rgba(19, 121, 181, 1);--color-sky-blue-800: rgba(13, 105, 159, 1);--color-sky-blue-900: rgba(4, 72, 110, 1);--color-cyan-50: rgba(215, 246, 255, 1);--color-cyan-100: rgba(190, 239, 254, 1);--color-cyan-200: rgba(166, 233, 251, 1);--color-cyan-300: rgba(112, 215, 245, 1);--color-cyan-400: rgba(91, 202, 235, 1);--color-cyan-500: rgba(36, 171, 210, 1);--color-cyan-600: rgba(24, 149, 186, 1);--color-cyan-700: rgba(14, 126, 158, 1);--color-cyan-800: rgba(10, 110, 138, 1);--color-cyan-900: rgba(1, 75, 97, 1);--color-teal-50: rgba(211, 253, 246, 1);--color-teal-100: rgba(184, 249, 239, 1);--color-teal-200: rgba(157, 245, 230, 1);--color-teal-300: rgba(100, 236, 213, 1);--color-teal-400: rgba(73, 222, 196, 1);--color-teal-500: rgba(30, 203, 173, 1);--color-teal-600: rgba(14, 184, 155, 1);--color-teal-700: rgba(0, 141, 118, 1);--color-teal-800: rgba(0, 121, 101, 1);--color-teal-900: rgba(0, 81, 67, 1);--color-emerald-50: rgba(221, 249, 237, 1);--color-emerald-100: rgba(199, 243, 225, 1);--color-emerald-200: rgba(179, 236, 212, 1);--color-emerald-300: rgba(149, 226, 193, 1);--color-emerald-400: rgba(112, 209, 168, 1);--color-emerald-500: rgba(77, 190, 143, 1);--color-emerald-600: rgba(25, 172, 113, 1);--color-emerald-700: rgba(35, 132, 91, 1);--color-emerald-800: rgba(27, 116, 78, 1);--color-emerald-900: rgba(15, 81, 53, 1);--color-lime-50: rgba(236, 251, 215, 1);--color-lime-100: rgba(223, 248, 190, 1);--color-lime-200: rgba(211, 244, 165, 1);--color-lime-300: rgba(192, 235, 131, 1);--color-lime-400: rgba(165, 220, 88, 1);--color-lime-500: rgba(138, 201, 49, 1);--color-lime-600: rgba(124, 191, 30, 1);--color-lime-700: rgba(89, 144, 11, 1);--color-lime-800: rgba(76, 127, 6, 1);--color-lime-900: rgba(52, 88, 0, 1);--color-yellow-50: rgba(255, 247, 223, 1);--color-yellow-100: rgba(255, 241, 202, 1);--color-yellow-200: rgba(255, 237, 180, 1);--color-yellow-300: rgba(255, 230, 149, 1);--color-yellow-400: rgba(255, 219, 106, 1);--color-yellow-500: rgba(247, 205, 71, 1);--color-yellow-600: rgba(236, 187, 33, 1);--color-yellow-700: rgba(202, 156, 36, 1);--color-yellow-800: rgba(158, 116, 21, 1);--color-yellow-900: rgba(84, 56, 5, 1);--color-rose-50: rgba(255, 221, 223, 1);--color-rose-100: rgba(255, 198, 203, 1);--color-rose-200: rgba(255, 175, 182, 1);--color-rose-300: rgba(255, 141, 152, 1);--color-rose-400: rgba(252, 97, 111, 1);--color-rose-500: rgba(241, 62, 79, 1);--color-rose-600: rgba(234, 46, 64, 1);--color-rose-700: rgba(196, 28, 44, 1);--color-rose-800: rgba(153, 15, 27, 1);--color-rose-900: rgba(82, 2, 9, 1);--color-pink-50: rgba(255, 220, 237, 1);--color-pink-100: rgba(255, 197, 226, 1);--color-pink-200: rgba(255, 174, 214, 1);--color-pink-300: rgba(255, 139, 196, 1);--color-pink-400: rgba(248, 99, 172, 1);--color-pink-500: rgba(237, 64, 149, 1);--color-pink-600: rgba(224, 38, 130, 1);--color-pink-700: rgba(192, 29, 110, 1);--color-pink-800: rgba(150, 16, 82, 1);--color-pink-900: rgba(81, 2, 41, 1);--color-white-alpha-100: rgba(255, 255, 255, 1);--color-white-alpha-90: rgba(255, 255, 255, .9);--color-white-alpha-80: rgba(255, 255, 255, .8);--color-white-alpha-70: rgba(255, 255, 255, .7);--color-white-alpha-60: rgba(255, 255, 255, .6);--color-white-alpha-50: rgba(255, 255, 255, .5);--color-white-alpha-40: rgba(255, 255, 255, .4);--color-white-alpha-30: rgba(255, 255, 255, .3);--color-white-alpha-20: rgba(255, 255, 255, .2);--color-white-alpha-10: rgba(255, 255, 255, .1);--color-white-alpha-5: rgba(255, 255, 255, .05);--color-black-alpha-40: rgba(46, 54, 63, .4);--color-black-alpha-30: rgba(46, 54, 63, .3);--color-black-alpha-20: rgba(46, 54, 63, .2);--color-black-alpha-15: rgba(46, 54, 63, .15);--color-black-alpha-10: rgba(46, 54, 63, .1);--color-black-alpha-5: rgba(46, 54, 63, .05)}:root{--line-height-s: 16px;--line-height-m: 24px;--line-height-l: 36px;--line-height-xl: 40px;--line-height-xxl: 48px;--line-height-xxxl: 28px;--line-height-xxxxl: 20px;--line-height-xxxxxl: 14px;--font-size-xs: .75rem;--font-size-s: .875rem;--font-size-m: 1rem;--font-size-l: 1.125rem;--font-size-xl: 1.25rem;--font-size-xxl: 1.625rem;--font-size-xxxl: 1.5rem;--font-size-xxxxl: 1.75rem;--font-size-xxxxxl: 2rem;--font-size-xxxxxxl: 2.5rem;--font-size-2xs: .625rem;--font-weight-regular: 400;--font-weight-medium: 500;--font-weight-semi-bold: 600;--font-weight-bold: 700;--headline-xs-font-size: var(--font-size-m);--headline-xs-line-height: var(--line-height-m);--headline-xs-font-weight: var(--font-weight-bold);--headline-s-font-size: var(--font-size-xl);--headline-s-line-height: var(--line-height-xxxl);--headline-s-font-weight: var(--font-weight-bold);--headline-m-font-size: var(--font-size-xxxl);--headline-m-line-height: var(--line-height-xl);--headline-m-font-weight: var(--font-weight-bold);--headline-ml-font-size: var(--font-size-xxxxl);--headline-ml-line-height: var(--line-height-l);--headline-ml-font-weight: var(--font-weight-bold);--headline-1-font-size: var(--font-size-xxxxxl);--headline-1-line-height: var(--line-height-xl);--headline-1-font-weight: var(--font-weight-bold);--headline-xl-font-size: var(--font-size-xxxxxxl);--headline-xl-line-height: var(--line-height-xxl);--headline-xl-font-weight: var(--font-weight-bold);--text-long-1-font-size: var(--font-size-xl);--text-long-1-line-height: var(--line-height-xxxl);--text-long-1-font-weight: var(--font-weight-regular);--text-long-m-font-size: var(--font-size-m);--text-long-m-line-height: var(--line-height-m);--text-long-m-font-weight: var(--font-weight-regular);--text-long-s-font-size: var(--font-size-s);--text-long-s-line-height: var(--line-height-xxxxl);--text-long-s-font-weight: var(--font-weight-regular);--text-long-xs-font-size: var(--font-size-xs);--text-long-xs-line-height: var(--line-height-s);--text-long-xs-font-weight: var(--font-weight-regular);--text-long-1-medium-font-size: var(--font-size-xl);--text-long-1-medium-line-height: var(--line-height-xxxl);--text-long-1-medium-font-weight: var(--font-weight-medium);--text-long-m-medium-font-size: var(--font-size-m);--text-long-m-medium-line-height: var(--line-height-m);--text-long-m-medium-font-weight: var(--font-weight-medium);--text-long-s-medium-font-size: var(--font-size-s);--text-long-s-medium-line-height: var(--line-height-xxxxl);--text-long-s-medium-font-weight: var(--font-weight-medium);--text-long-xs-medium-font-size: var(--font-size-xs);--text-long-xs-medium-line-height: var(--line-height-s);--text-long-xs-medium-font-weight: var(--font-weight-medium);--text-long-1-bold-font-size: var(--font-size-xl);--text-long-1-bold-line-height: var(--line-height-xxxl);--text-long-1-bold-font-weight: var(--font-weight-bold);--text-long-m-bold-font-size: var(--font-size-m);--text-long-m-bold-line-height: var(--line-height-m);--text-long-m-bold-font-weight: var(--font-weight-bold);--text-long-s-bold-font-size: var(--font-size-s);--text-long-s-bold-line-height: var(--line-height-xxxxl);--text-long-s-bold-font-weight: var(--font-weight-bold);--text-short-m-font-size: var(--font-size-m);--text-short-m-line-height: var(--line-height-xxxxl);--text-short-m-font-weight: var(--font-weight-regular);--text-short-s-font-size: var(--font-size-s);--text-short-s-line-height: var(--line-height-s);--text-short-s-font-weight: var(--font-weight-regular);--text-short-xs-font-size: var(--font-size-xs);--text-short-xs-line-height: var(--line-height-xxxxxl);--text-short-xs-font-weight: var(--font-weight-regular);--text-short-2xs-font-size: var(--font-size-2xs);--text-short-2xs-line-height: var(--line-height-xxxxxl);--text-short-2xs-font-weight: var(--font-weight-regular);--text-short-m-medium-font-size: var(--font-size-m);--text-short-m-medium-line-height: var(--line-height-xxxxl);--text-short-m-medium-font-weight: var(--font-weight-medium);--text-short-s-medium-font-size: var(--font-size-s);--text-short-s-medium-line-height: var(--line-height-s);--text-short-s-medium-font-weight: var(--font-weight-medium);--text-short-xs-medium-font-size: var(--font-size-xs);--text-short-xs-medium-line-height: var(--line-height-xxxxxl);--text-short-xs-medium-font-weight: var(--font-weight-medium);--text-short-m-bold-font-size: var(--font-size-m);--text-short-m-bold-line-height: var(--line-height-xxxxl);--text-short-m-bold-font-weight: var(--font-weight-bold);--text-short-s-bold-font-size: var(--font-size-s);--text-short-s-bold-line-height: var(--line-height-s);--text-short-s-bold-font-weight: var(--font-weight-bold)}:root{--focus-color-default: rgba(235, 239, 255, 1);--focus-color-danger: rgba(255, 232, 231, 1);--focus-outline-default: 2px solid var(--focus-color-default);--focus-outline-danger: 2px solid var(--focus-color-danger);--focus-shadow-default: 0 0 0 2px var(--focus-color-default);--focus-shadow-danger: 0 0 0 2px var(--focus-color-danger);--focus-ring-default: 0 0 0 3px var(--focus-color-default);--focus-ring-danger: 0 0 0 3px var(--focus-color-danger);--focus-transition: all .2s ease-in-out}._focus_124un_520{position:relative}._focus_124un_520:after{content:"";position:absolute;top:-4px;left:-4px;right:-4px;bottom:-4px;border-radius:inherit;pointer-events:none;transition:var(--focus-transition);opacity:0}._focus--default_124un_537:after{box-shadow:var(--focus-ring-default)}._focus--danger_124un_541:after{box-shadow:var(--focus-ring-danger)}._focus_124un_520:focus-visible:after,._focus_124un_520._focus--visible_124un_547:after{opacity:1}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:var(--focus-outline-default);outline-offset:2px}._focus-danger_124un_562:focus-visible{outline:var(--focus-outline-danger);outline-offset:2px}._focus-within--default_124un_568:focus-within{box-shadow:var(--focus-shadow-default)}._focus-within--danger_124un_572:focus-within{box-shadow:var(--focus-shadow-danger)}._focus--input_124un_577:focus{border-color:var(--color-accept-default-600);box-shadow:var(--focus-shadow-default)}._focus--button_124un_582:focus-visible{outline:var(--focus-outline-default);outline-offset:2px}._focus--card_124un_587:focus-visible{box-shadow:var(--focus-shadow-default)}@media (prefers-reduced-motion: reduce){._focus_124un_520:after{transition:none}:root{--focus-transition: none}}._swap_124un_602{display:inline-flex;align-items:center;justify-content:center;position:relative;box-sizing:border-box}._swap--text_124un_611{display:inline;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit}._swap--icon_124un_622{display:inline-flex;align-items:center;justify-content:center;width:1rem;height:1rem;flex-shrink:0}._swap--icon-xs_124un_632{width:.75rem;height:.75rem}._swap--icon-s_124un_637{width:.875rem;height:.875rem}._swap--icon-m_124un_642{width:1rem;height:1rem}._swap--icon-l_124un_647{width:1.25rem;height:1.25rem}._swap--icon-xl_124un_652{width:1.5rem;height:1.5rem}._swap__content_124un_658{width:100%;height:100%;display:flex;align-items:center;justify-content:center}._swap--group-horizontal_124un_667{display:inline-flex;flex-direction:row;gap:.5rem;align-items:center}._swap--group-vertical_124un_674{display:inline-flex;flex-direction:column;gap:.5rem;align-items:center}._swap--with-background_124un_682{background-color:var(--color-background-page);padding:.5rem;border-radius:4px}._swap--with-border_124un_688{border:1px solid #dddddd;border:var(--border-s, 1px solid #dddddd);padding:.5rem;border-radius:4px}._swap--interactive_124un_696{cursor:pointer;transition:all .2s ease}._swap--interactive_124un_696:hover{opacity:.8}._swap--interactive_124un_696:active{transform:translateY(1px)}html{box-sizing:border-box;font-size:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}input,button,select,textarea,optgroup,option{font-family:inherit;font-size:inherit;font-weight:inherit;font-style:inherit;color:inherit}ul{list-style:none}body{min-width:360px;margin:0;padding:0;line-height:var(--line-height-m);color:var(--color-text-primary);background-color:var(--color-bg-primary)}._button_124un_750{padding:12px 24px;border:none;border-radius:4px;cursor:pointer;font-size:16px}._button_124un_750._primary_124un_757{background-color:var(--color-accept-default-600);color:#fff}._button_124un_750._secondary_124un_761{background-color:var(--color-accept-active-800);color:#fff}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import ee from "react";
|
|
2
|
-
var
|
|
2
|
+
var h = { exports: {} }, b = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
5
5
|
* react-jsx-runtime.production.js
|
|
@@ -13,25 +13,25 @@ var I;
|
|
|
13
13
|
function re() {
|
|
14
14
|
if (I) return b;
|
|
15
15
|
I = 1;
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
var
|
|
19
|
-
if (s !== void 0 && (
|
|
16
|
+
var c = Symbol.for("react.transitional.element"), _ = Symbol.for("react.fragment");
|
|
17
|
+
function l(d, a, s) {
|
|
18
|
+
var p = null;
|
|
19
|
+
if (s !== void 0 && (p = "" + s), a.key !== void 0 && (p = "" + a.key), "key" in a) {
|
|
20
20
|
s = {};
|
|
21
|
-
for (var
|
|
22
|
-
|
|
21
|
+
for (var m in a)
|
|
22
|
+
m !== "key" && (s[m] = a[m]);
|
|
23
23
|
} else s = a;
|
|
24
24
|
return a = s.ref, {
|
|
25
|
-
$$typeof:
|
|
25
|
+
$$typeof: c,
|
|
26
26
|
type: d,
|
|
27
|
-
key:
|
|
27
|
+
key: p,
|
|
28
28
|
ref: a !== void 0 ? a : null,
|
|
29
29
|
props: s
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
return b.Fragment =
|
|
32
|
+
return b.Fragment = _, b.jsx = l, b.jsxs = l, b;
|
|
33
33
|
}
|
|
34
|
-
var
|
|
34
|
+
var w = {};
|
|
35
35
|
/**
|
|
36
36
|
* @license React
|
|
37
37
|
* react-jsx-runtime.development.js
|
|
@@ -44,17 +44,17 @@ var R = {};
|
|
|
44
44
|
var F;
|
|
45
45
|
function te() {
|
|
46
46
|
return F || (F = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47
|
-
function
|
|
47
|
+
function c(e) {
|
|
48
48
|
if (e == null) return null;
|
|
49
49
|
if (typeof e == "function")
|
|
50
50
|
return e.$$typeof === Z ? null : e.displayName || e.name || null;
|
|
51
51
|
if (typeof e == "string") return e;
|
|
52
52
|
switch (e) {
|
|
53
|
-
case
|
|
53
|
+
case v:
|
|
54
54
|
return "Fragment";
|
|
55
|
-
case U:
|
|
56
|
-
return "Profiler";
|
|
57
55
|
case z:
|
|
56
|
+
return "Profiler";
|
|
57
|
+
case U:
|
|
58
58
|
return "StrictMode";
|
|
59
59
|
case J:
|
|
60
60
|
return "Suspense";
|
|
@@ -77,22 +77,22 @@ function te() {
|
|
|
77
77
|
var r = e.render;
|
|
78
78
|
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
79
79
|
case B:
|
|
80
|
-
return r = e.displayName || null, r !== null ? r :
|
|
81
|
-
case
|
|
80
|
+
return r = e.displayName || null, r !== null ? r : c(e.type) || "Memo";
|
|
81
|
+
case y:
|
|
82
82
|
r = e._payload, e = e._init;
|
|
83
83
|
try {
|
|
84
|
-
return
|
|
84
|
+
return c(e(r));
|
|
85
85
|
} catch {
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
return null;
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function _(e) {
|
|
91
91
|
return "" + e;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function l(e) {
|
|
94
94
|
try {
|
|
95
|
-
|
|
95
|
+
_(e);
|
|
96
96
|
var r = !1;
|
|
97
97
|
} catch {
|
|
98
98
|
r = !0;
|
|
@@ -104,37 +104,37 @@ function te() {
|
|
|
104
104
|
r,
|
|
105
105
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
106
106
|
n
|
|
107
|
-
),
|
|
107
|
+
), _(e);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
function d(e) {
|
|
111
|
-
if (e ===
|
|
112
|
-
if (typeof e == "object" && e !== null && e.$$typeof ===
|
|
111
|
+
if (e === v) return "<>";
|
|
112
|
+
if (typeof e == "object" && e !== null && e.$$typeof === y)
|
|
113
113
|
return "<...>";
|
|
114
114
|
try {
|
|
115
|
-
var r =
|
|
115
|
+
var r = c(e);
|
|
116
116
|
return r ? "<" + r + ">" : "<...>";
|
|
117
117
|
} catch {
|
|
118
118
|
return "<...>";
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
function a() {
|
|
122
|
-
var e =
|
|
122
|
+
var e = R.A;
|
|
123
123
|
return e === null ? null : e.getOwner();
|
|
124
124
|
}
|
|
125
125
|
function s() {
|
|
126
126
|
return Error("react-stack-top-frame");
|
|
127
127
|
}
|
|
128
|
-
function
|
|
129
|
-
if (
|
|
128
|
+
function p(e) {
|
|
129
|
+
if (P.call(e, "key")) {
|
|
130
130
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
131
131
|
if (r && r.isReactWarning) return !1;
|
|
132
132
|
}
|
|
133
133
|
return e.key !== void 0;
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function m(e, r) {
|
|
136
136
|
function t() {
|
|
137
|
-
|
|
137
|
+
j || (j = !0, console.error(
|
|
138
138
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
139
139
|
r
|
|
140
140
|
));
|
|
@@ -145,18 +145,18 @@ function te() {
|
|
|
145
145
|
});
|
|
146
146
|
}
|
|
147
147
|
function L() {
|
|
148
|
-
var e =
|
|
148
|
+
var e = c(this.type);
|
|
149
149
|
return N[e] || (N[e] = !0, console.error(
|
|
150
150
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
151
151
|
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
152
152
|
}
|
|
153
|
-
function M(e, r, t, n,
|
|
154
|
-
return t =
|
|
155
|
-
$$typeof:
|
|
153
|
+
function M(e, r, t, n, i, u, k, g) {
|
|
154
|
+
return t = u.ref, e = {
|
|
155
|
+
$$typeof: S,
|
|
156
156
|
type: e,
|
|
157
157
|
key: r,
|
|
158
|
-
props:
|
|
159
|
-
_owner:
|
|
158
|
+
props: u,
|
|
159
|
+
_owner: i
|
|
160
160
|
}, (t !== void 0 ? t : null) !== null ? Object.defineProperty(e, "ref", {
|
|
161
161
|
enumerable: !1,
|
|
162
162
|
get: L
|
|
@@ -174,33 +174,33 @@ function te() {
|
|
|
174
174
|
configurable: !1,
|
|
175
175
|
enumerable: !1,
|
|
176
176
|
writable: !0,
|
|
177
|
-
value:
|
|
177
|
+
value: k
|
|
178
178
|
}), Object.defineProperty(e, "_debugTask", {
|
|
179
179
|
configurable: !1,
|
|
180
180
|
enumerable: !1,
|
|
181
181
|
writable: !0,
|
|
182
|
-
value:
|
|
182
|
+
value: g
|
|
183
183
|
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function A(e, r, t, n, i, u, k, g) {
|
|
186
186
|
var o = r.children;
|
|
187
187
|
if (o !== void 0)
|
|
188
188
|
if (n)
|
|
189
189
|
if (Q(o)) {
|
|
190
190
|
for (n = 0; n < o.length; n++)
|
|
191
|
-
|
|
191
|
+
x(o[n]);
|
|
192
192
|
Object.freeze && Object.freeze(o);
|
|
193
193
|
} else
|
|
194
194
|
console.error(
|
|
195
195
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
196
196
|
);
|
|
197
|
-
else
|
|
198
|
-
if (
|
|
199
|
-
o =
|
|
200
|
-
var
|
|
197
|
+
else x(o);
|
|
198
|
+
if (P.call(r, "key")) {
|
|
199
|
+
o = c(e);
|
|
200
|
+
var f = Object.keys(r).filter(function(K) {
|
|
201
201
|
return K !== "key";
|
|
202
202
|
});
|
|
203
|
-
n = 0 <
|
|
203
|
+
n = 0 < f.length ? "{key: someKey, " + f.join(": ..., ") + ": ...}" : "{key: someKey}", $[o + n] || (f = 0 < f.length ? "{" + f.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
204
204
|
`A props object containing a "key" prop is being spread into JSX:
|
|
205
205
|
let props = %s;
|
|
206
206
|
<%s {...props} />
|
|
@@ -209,89 +209,113 @@ React keys must be passed directly to JSX without using spread:
|
|
|
209
209
|
<%s key={someKey} {...props} />`,
|
|
210
210
|
n,
|
|
211
211
|
o,
|
|
212
|
-
|
|
212
|
+
f,
|
|
213
213
|
o
|
|
214
214
|
), $[o + n] = !0);
|
|
215
215
|
}
|
|
216
|
-
if (o = null, t !== void 0 && (
|
|
216
|
+
if (o = null, t !== void 0 && (l(t), o = "" + t), p(r) && (l(r.key), o = "" + r.key), "key" in r) {
|
|
217
217
|
t = {};
|
|
218
|
-
for (var
|
|
219
|
-
|
|
218
|
+
for (var O in r)
|
|
219
|
+
O !== "key" && (t[O] = r[O]);
|
|
220
220
|
} else t = r;
|
|
221
|
-
return o &&
|
|
221
|
+
return o && m(
|
|
222
222
|
t,
|
|
223
223
|
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
224
224
|
), M(
|
|
225
225
|
e,
|
|
226
226
|
o,
|
|
227
|
-
|
|
228
|
-
|
|
227
|
+
u,
|
|
228
|
+
i,
|
|
229
229
|
a(),
|
|
230
230
|
t,
|
|
231
|
-
|
|
232
|
-
|
|
231
|
+
k,
|
|
232
|
+
g
|
|
233
233
|
);
|
|
234
234
|
}
|
|
235
|
-
function
|
|
236
|
-
typeof e == "object" && e !== null && e.$$typeof ===
|
|
235
|
+
function x(e) {
|
|
236
|
+
typeof e == "object" && e !== null && e.$$typeof === S && e._store && (e._store.validated = 1);
|
|
237
237
|
}
|
|
238
|
-
var
|
|
238
|
+
var E = ee, S = Symbol.for("react.transitional.element"), W = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), U = Symbol.for("react.strict_mode"), z = Symbol.for("react.profiler"), V = Symbol.for("react.consumer"), q = Symbol.for("react.context"), G = Symbol.for("react.forward_ref"), J = Symbol.for("react.suspense"), X = Symbol.for("react.suspense_list"), B = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), H = Symbol.for("react.activity"), Z = Symbol.for("react.client.reference"), R = E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, P = Object.prototype.hasOwnProperty, Q = Array.isArray, T = console.createTask ? console.createTask : function() {
|
|
239
239
|
return null;
|
|
240
240
|
};
|
|
241
|
-
|
|
241
|
+
E = {
|
|
242
242
|
react_stack_bottom_frame: function(e) {
|
|
243
243
|
return e();
|
|
244
244
|
}
|
|
245
245
|
};
|
|
246
|
-
var
|
|
247
|
-
|
|
246
|
+
var j, N = {}, C = E.react_stack_bottom_frame.bind(
|
|
247
|
+
E,
|
|
248
248
|
s
|
|
249
|
-
)(), Y =
|
|
250
|
-
|
|
251
|
-
var
|
|
252
|
-
return
|
|
249
|
+
)(), Y = T(d(s)), $ = {};
|
|
250
|
+
w.Fragment = v, w.jsx = function(e, r, t, n, i) {
|
|
251
|
+
var u = 1e4 > R.recentlyCreatedOwnerStacks++;
|
|
252
|
+
return A(
|
|
253
253
|
e,
|
|
254
254
|
r,
|
|
255
255
|
t,
|
|
256
256
|
!1,
|
|
257
257
|
n,
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
258
|
+
i,
|
|
259
|
+
u ? Error("react-stack-top-frame") : C,
|
|
260
|
+
u ? T(d(e)) : Y
|
|
261
261
|
);
|
|
262
|
-
},
|
|
263
|
-
var
|
|
264
|
-
return
|
|
262
|
+
}, w.jsxs = function(e, r, t, n, i) {
|
|
263
|
+
var u = 1e4 > R.recentlyCreatedOwnerStacks++;
|
|
264
|
+
return A(
|
|
265
265
|
e,
|
|
266
266
|
r,
|
|
267
267
|
t,
|
|
268
268
|
!0,
|
|
269
269
|
n,
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
270
|
+
i,
|
|
271
|
+
u ? Error("react-stack-top-frame") : C,
|
|
272
|
+
u ? T(d(e)) : Y
|
|
273
273
|
);
|
|
274
274
|
};
|
|
275
|
-
}()),
|
|
275
|
+
}()), w;
|
|
276
276
|
}
|
|
277
|
-
process.env.NODE_ENV === "production" ?
|
|
278
|
-
var ne =
|
|
279
|
-
const oe = "
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
277
|
+
process.env.NODE_ENV === "production" ? h.exports = re() : h.exports = te();
|
|
278
|
+
var ne = h.exports;
|
|
279
|
+
const oe = "_focus_124un_520", ae = "_swap_124un_602", se = "_swap__content_124un_658", ue = "_button_124un_750", ce = "_primary_124un_757", ie = "_secondary_124un_761", D = {
|
|
280
|
+
focus: oe,
|
|
281
|
+
"focus--default": "_focus--default_124un_537",
|
|
282
|
+
"focus--danger": "_focus--danger_124un_541",
|
|
283
|
+
"focus--visible": "_focus--visible_124un_547",
|
|
284
|
+
"focus-danger": "_focus-danger_124un_562",
|
|
285
|
+
"focus-within--default": "_focus-within--default_124un_568",
|
|
286
|
+
"focus-within--danger": "_focus-within--danger_124un_572",
|
|
287
|
+
"focus--input": "_focus--input_124un_577",
|
|
288
|
+
"focus--button": "_focus--button_124un_582",
|
|
289
|
+
"focus--card": "_focus--card_124un_587",
|
|
290
|
+
swap: ae,
|
|
291
|
+
"swap--text": "_swap--text_124un_611",
|
|
292
|
+
"swap--icon": "_swap--icon_124un_622",
|
|
293
|
+
"swap--icon-xs": "_swap--icon-xs_124un_632",
|
|
294
|
+
"swap--icon-s": "_swap--icon-s_124un_637",
|
|
295
|
+
"swap--icon-m": "_swap--icon-m_124un_642",
|
|
296
|
+
"swap--icon-l": "_swap--icon-l_124un_647",
|
|
297
|
+
"swap--icon-xl": "_swap--icon-xl_124un_652",
|
|
298
|
+
swap__content: se,
|
|
299
|
+
"swap--group-horizontal": "_swap--group-horizontal_124un_667",
|
|
300
|
+
"swap--group-vertical": "_swap--group-vertical_124un_674",
|
|
301
|
+
"swap--with-background": "_swap--with-background_124un_682",
|
|
302
|
+
"swap--with-border": "_swap--with-border_124un_688",
|
|
303
|
+
"swap--interactive": "_swap--interactive_124un_696",
|
|
304
|
+
button: ue,
|
|
305
|
+
primary: ce,
|
|
306
|
+
secondary: ie
|
|
307
|
+
}, _e = ({
|
|
308
|
+
children: c,
|
|
309
|
+
variant: _ = "primary",
|
|
310
|
+
onClick: l
|
|
287
311
|
}) => /* @__PURE__ */ ne.jsx(
|
|
288
312
|
"button",
|
|
289
313
|
{
|
|
290
|
-
className: `${D.button} ${D[
|
|
291
|
-
onClick:
|
|
292
|
-
children:
|
|
314
|
+
className: `${D.button} ${D[_]}`,
|
|
315
|
+
onClick: l,
|
|
316
|
+
children: c
|
|
293
317
|
}
|
|
294
318
|
);
|
|
295
319
|
export {
|
|
296
|
-
|
|
320
|
+
_e as Button
|
|
297
321
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(l,p){typeof exports=="object"&&typeof module<"u"?p(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],p):(l=typeof globalThis<"u"?globalThis:l||self,p(l.PostPioneerUI={},l.React))})(this,function(l,p){"use strict";var T={exports:{}},m={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var S;function U(){if(S)return m;S=1;var c=Symbol.for("react.transitional.element"),_=Symbol.for("react.fragment");function f(w,a,s){var E=null;if(s!==void 0&&(E=""+s),a.key!==void 0&&(E=""+a.key),"key"in a){s={};for(var v in a)v!=="key"&&(s[v]=a[v])}else s=a;return a=s.ref,{$$typeof:c,type:w,key:E,ref:a!==void 0?a:null,props:s}}return m.Fragment=_,m.jsx=f,m.jsxs=f,m}var b={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
17
|
+
*/var x;function W(){return x||(x=1,process.env.NODE_ENV!=="production"&&function(){function c(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ne?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case k:return"Fragment";case B:return"Profiler";case X:return"StrictMode";case K:return"Suspense";case ee:return"SuspenseList";case te:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case J:return"Portal";case Z:return(e.displayName||"Context")+".Provider";case H:return(e._context.displayName||"Context")+".Consumer";case Q:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case re:return r=e.displayName||null,r!==null?r:c(e.type)||"Memo";case Y:r=e._payload,e=e._init;try{return c(e(r))}catch{}}return null}function _(e){return""+e}function f(e){try{_(e);var r=!1}catch{r=!0}if(r){r=console;var t=r.error,n=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),_(e)}}function w(e){if(e===k)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===Y)return"<...>";try{var r=c(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function a(){var e=g.A;return e===null?null:e.getOwner()}function s(){return Error("react-stack-top-frame")}function E(e){if(I.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function v(e,r){function t(){$||($=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r))}t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}function q(){var e=c(this.type);return F[e]||(F[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function G(e,r,t,n,i,u,y,O){return t=u.ref,e={$$typeof:C,type:e,key:r,props:u,_owner:i},(t!==void 0?t:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:q}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:y}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:O}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function j(e,r,t,n,i,u,y,O){var o=r.children;if(o!==void 0)if(n)if(oe(o)){for(n=0;n<o.length;n++)N(o[n]);Object.freeze&&Object.freeze(o)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else N(o);if(I.call(r,"key")){o=c(e);var d=Object.keys(r).filter(function(ae){return ae!=="key"});n=0<d.length?"{key: someKey, "+d.join(": ..., ")+": ...}":"{key: someKey}",L[o+n]||(d=0<d.length?"{"+d.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
18
|
let props = %s;
|
|
19
19
|
<%s {...props} />
|
|
20
20
|
React keys must be passed directly to JSX without using spread:
|
|
21
21
|
let props = %s;
|
|
22
|
-
<%s key={someKey} {...props} />`,n,o,
|
|
22
|
+
<%s key={someKey} {...props} />`,n,o,d,o),L[o+n]=!0)}if(o=null,t!==void 0&&(f(t),o=""+t),E(r)&&(f(r.key),o=""+r.key),"key"in r){t={};for(var P in r)P!=="key"&&(t[P]=r[P])}else t=r;return o&&v(t,typeof e=="function"?e.displayName||e.name||"Unknown":e),G(e,o,u,i,a(),t,y,O)}function N(e){typeof e=="object"&&e!==null&&e.$$typeof===C&&e._store&&(e._store.validated=1)}var R=p,C=Symbol.for("react.transitional.element"),J=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),X=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),H=Symbol.for("react.consumer"),Z=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),K=Symbol.for("react.suspense"),ee=Symbol.for("react.suspense_list"),re=Symbol.for("react.memo"),Y=Symbol.for("react.lazy"),te=Symbol.for("react.activity"),ne=Symbol.for("react.client.reference"),g=R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I=Object.prototype.hasOwnProperty,oe=Array.isArray,h=console.createTask?console.createTask:function(){return null};R={react_stack_bottom_frame:function(e){return e()}};var $,F={},D=R.react_stack_bottom_frame.bind(R,s)(),M=h(w(s)),L={};b.Fragment=k,b.jsx=function(e,r,t,n,i){var u=1e4>g.recentlyCreatedOwnerStacks++;return j(e,r,t,!1,n,i,u?Error("react-stack-top-frame"):D,u?h(w(e)):M)},b.jsxs=function(e,r,t,n,i){var u=1e4>g.recentlyCreatedOwnerStacks++;return j(e,r,t,!0,n,i,u?Error("react-stack-top-frame"):D,u?h(w(e)):M)}}()),b}process.env.NODE_ENV==="production"?T.exports=U():T.exports=W();var z=T.exports;const A={focus:"_focus_124un_520","focus--default":"_focus--default_124un_537","focus--danger":"_focus--danger_124un_541","focus--visible":"_focus--visible_124un_547","focus-danger":"_focus-danger_124un_562","focus-within--default":"_focus-within--default_124un_568","focus-within--danger":"_focus-within--danger_124un_572","focus--input":"_focus--input_124un_577","focus--button":"_focus--button_124un_582","focus--card":"_focus--card_124un_587",swap:"_swap_124un_602","swap--text":"_swap--text_124un_611","swap--icon":"_swap--icon_124un_622","swap--icon-xs":"_swap--icon-xs_124un_632","swap--icon-s":"_swap--icon-s_124un_637","swap--icon-m":"_swap--icon-m_124un_642","swap--icon-l":"_swap--icon-l_124un_647","swap--icon-xl":"_swap--icon-xl_124un_652",swap__content:"_swap__content_124un_658","swap--group-horizontal":"_swap--group-horizontal_124un_667","swap--group-vertical":"_swap--group-vertical_124un_674","swap--with-background":"_swap--with-background_124un_682","swap--with-border":"_swap--with-border_124un_688","swap--interactive":"_swap--interactive_124un_696",button:"_button_124un_750",primary:"_primary_124un_757",secondary:"_secondary_124un_761"},V=({children:c,variant:_="primary",onClick:f})=>z.jsx("button",{className:`${A.button} ${A[_]}`,onClick:f,children:c});l.Button=V,Object.defineProperty(l,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@post-pioneer/ui-kit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "UI Kit for Post Pioneer applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/ui-kit-postpioneer.umd.js",
|
|
@@ -52,16 +52,18 @@
|
|
|
52
52
|
"react": "^18.0.0 || ^19.0.0",
|
|
53
53
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
54
54
|
},
|
|
55
|
-
"dependencies": {
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"sass": "^1.90.0"
|
|
57
|
+
},
|
|
56
58
|
"devDependencies": {
|
|
57
59
|
"@chromatic-com/storybook": "^4.1.1",
|
|
58
60
|
"@eslint/js": "^9.33.0",
|
|
59
|
-
"@storybook/addon-a11y": "^9.1.
|
|
60
|
-
"@storybook/addon-docs": "^9.1.
|
|
61
|
-
"@storybook/addon-onboarding": "^9.1.
|
|
62
|
-
"@storybook/addon-vitest": "^9.1.
|
|
63
|
-
"@storybook/react": "^9.1.
|
|
64
|
-
"@storybook/react-vite": "^9.1.
|
|
61
|
+
"@storybook/addon-a11y": "^9.1.4",
|
|
62
|
+
"@storybook/addon-docs": "^9.1.4",
|
|
63
|
+
"@storybook/addon-onboarding": "^9.1.4",
|
|
64
|
+
"@storybook/addon-vitest": "^9.1.4",
|
|
65
|
+
"@storybook/react": "^9.1.4",
|
|
66
|
+
"@storybook/react-vite": "^9.1.5",
|
|
65
67
|
"@testing-library/jest-dom": "^6.8.0",
|
|
66
68
|
"@testing-library/react": "^16.3.0",
|
|
67
69
|
"@testing-library/user-event": "^14.6.1",
|
|
@@ -73,13 +75,12 @@
|
|
|
73
75
|
"eslint": "^9.33.0",
|
|
74
76
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
75
77
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
76
|
-
"eslint-plugin-storybook": "^
|
|
78
|
+
"eslint-plugin-storybook": "^0.8.0",
|
|
77
79
|
"globals": "^16.3.0",
|
|
78
80
|
"jest": "^30.0.5",
|
|
79
81
|
"jest-environment-jsdom": "^30.0.5",
|
|
80
82
|
"jsdom": "^26.1.0",
|
|
81
|
-
"
|
|
82
|
-
"storybook": "^9.1.3",
|
|
83
|
+
"storybook": "^9.1.4",
|
|
83
84
|
"tslib": "^2.8.1",
|
|
84
85
|
"typescript": "~5.8.3",
|
|
85
86
|
"typescript-eslint": "^8.39.1",
|