@accelint/design-system 1.1.1 → 1.1.2
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/dist/components/icon/types.d.ts +1 -1
- package/dist/constants.d.ts +3 -0
- package/dist/constants.js +8 -0
- package/dist/constants.js.map +1 -0
- package/dist/index.css +10 -10
- package/dist/ladle/actions.js.map +1 -1
- package/dist/styles/layers.css.d.ts +3 -3
- package/dist/test/setup.js +1 -1
- package/dist/test/setup.js.map +1 -1
- package/dist/vanilla.d.ts +2 -2
- package/dist/vanilla.js +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ type IconClassNames = Partial<{
|
|
|
5
5
|
container: string;
|
|
6
6
|
icon: string;
|
|
7
7
|
}>;
|
|
8
|
-
type IconSizes = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'relative';
|
|
8
|
+
type IconSizes = 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'relative';
|
|
9
9
|
type BaseIconProps = Pick<CSSProperties, 'color' | 'fill' | 'stroke'> & {
|
|
10
10
|
classNames?: IconClassNames;
|
|
11
11
|
size?: IconSizes;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/constants.ts"],"names":[],"mappings":";;;AAYO,IAAM,aAAA,GAAgB","file":"constants.js","sourcesContent":["/*\n * Copyright 2025 Hypergiant Galactic Systems Inc. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nexport const fallbackColor = '#898989';\n"]}
|
package/dist/index.css
CHANGED
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
}
|
|
453
453
|
}
|
|
454
454
|
|
|
455
|
-
/* vanilla-extract-css-ns:src/components/button/button.css.ts.vanilla.css?source=#H4sIAAAAAAAAE6VTPW/
|
|
455
|
+
/* vanilla-extract-css-ns:src/components/button/button.css.ts.vanilla.css?source=#H4sIAAAAAAAAE6VTPW/bMBDd8ysO6GIBYmAnbZ0oi5F07tKho3ASKZkxRSokFdkt8t8LiRQdQYbrD2gQ+O773buVwB3ToARNqUkLjRVrld7ceiBXVa0kk9YcQMTi6WZ1VTz8vQG4zRprlUzd70WgMT+xYp2rtMgl02m6WG6Wd3/aug8ACBYisWIJjDNMwuZPfVTLqV0n8I56Rkj/CB5ZDAW3pMvLpI2cP+WmFrhLIBMq3zgsw3xTatVImoBUkjm0Rkq5LBPwlTKlKdPhadnWEspypdFyJT9H5kooncCXh8fu67CPY5R4fGj7zfMROi0E27rEr42xvNgNIyWQM2mZdkYUvJSEW1aZsaHEeiCoxDrUefSMVFySEYsVl79HRGIM2FgVXcZ44NFF7II3jWEeeXQb0LxDx4wv6i0YJTj1zg4PEcsYrEZpatT7qs6HaKS8MWEymqbilVft230VTXfvswckVPgeB5tmz1P7XdxvP/I5CyUtaRkv1zaB5Xw+UoVL1D9C/MOQXyr5qxv0ZWReDInzRpsuR634sN5OWatwOjAzdifYjJB31BylDTnKBHiuZARKwxGfQii0XJZR5FV4rmpHeupU4zr/mLZ6ShcXN3Fw/X5pXgGDng+0dozFfW/HmVwrIVR7BY9+hJFspsp3uCv2PLbeD7I5XeXTOzpvcf2VXjHyWcfYFztwjV/3c59yc2Z6cN+i/0/PzQ9uMBNsX5gnYHXDLp9/uG+pLMFuo4x+7uPjHySx09rZBwAA */
|
|
456
456
|
@layer old_ds_framework.old_ds_components.old_ds_components.l1;
|
|
457
457
|
@layer old_ds_framework.old_ds_components.old_ds_components.l1 {
|
|
458
458
|
.button_buttonClassNames_container__17k72zwp {
|
|
@@ -464,7 +464,7 @@
|
|
|
464
464
|
padding: 0;
|
|
465
465
|
border: 0;
|
|
466
466
|
text-decoration: none;
|
|
467
|
-
color:
|
|
467
|
+
color: #898989;
|
|
468
468
|
}
|
|
469
469
|
.button_buttonClassNames_button__17k72zwq {
|
|
470
470
|
display: flex;
|
|
@@ -511,7 +511,7 @@
|
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
513
|
|
|
514
|
-
/* vanilla-extract-css-ns:src/components/checkbox/checkbox.css.ts.vanilla.css?source=#
|
|
514
|
+
/* vanilla-extract-css-ns:src/components/checkbox/checkbox.css.ts.vanilla.css?source=#H4sIAAAAAAAAE7VV227aQBB9z1es1Jcg4aiEXhLzgtRKUV9aqT9gDd4BNoxnndk1l1b8e2VsL1BIwCERElpm55w5zLFnhgQrFGVJJ9olY4EMF1ZmN3UgtVluGdm7IxHqDa6Gl+BvL8T31N8rpW7SKaazkV0mzeEbgXM/IUOXbO8sezCMkiQ9gUfbz/MNWqlwEzFkGKtDugPox8EGqY3LCVaxGpFNZ1VsYbSfxmpsfFQSI/syvj5fZ3Noaj3VMkOxMeGyqgVkJhwZj5mLVYrsUaqLCeSxmoNcR9EE8kD1tTOo/zFZaRI2P0LKp047uQQjpIB2oaWXFpiILfIjpvlzTXsoCQ6d6/3nXO2RayGq+m4Ii+ftKU+RNoKpN5bLWlRkfOAQEmbI/mHHqLvuUffatG7fmHkbY4ahucr5FeF1FG2etB+cFz7k38fKeRDfqakvfLwP2yV2EQnOURxWPVu31Yes31PdSVXG/UbQv5hWgbAcDUAO30xXWogrLc2t2b7/L2r6bhyMCHUgg1h5Kd5eElsfAZFdoD4py4pB9lD2NjDOYjW1Yv6UyXSWupde0NdZ+IyuOYo36buo2p0SlbD1hVu2xZY0qeUjU1desYMeC+fNeNVswf3LektWc0ibDNntdvhLvaimaCZTfzpvb6wZ1iYFvzPaPnfVh7v78lPnj6xolFj18qVyloyuoVU84G67yguwy0GQ/R42EtCmcE1NlyUJPZps8dSnJg/SWek56yZpGwkV+l3FlrEevet/FIqYHY4JAAA= */
|
|
515
515
|
@layer old_ds_framework.old_ds_components.old_ds_components.l1;
|
|
516
516
|
@layer old_ds_framework.old_ds_components.old_ds_components.l2;
|
|
517
517
|
@layer old_ds_framework.old_ds_components.old_ds_components.l1 {
|
|
@@ -580,14 +580,14 @@
|
|
|
580
580
|
justify-content: center;
|
|
581
581
|
width: var(--dimension__1rajo3p6);
|
|
582
582
|
height: var(--dimension__1rajo3p6);
|
|
583
|
-
color: var(--indicator__1rajo3p5,
|
|
583
|
+
color: var(--indicator__1rajo3p5, #898989);
|
|
584
584
|
border: 1px solid var(--border__1rajo3p2, transparent);
|
|
585
585
|
border-radius: var(--sm__ljimwq3l);
|
|
586
586
|
background: var(--background__1rajo3p3, none);
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
589
|
|
|
590
|
-
/* vanilla-extract-css-ns:src/components/chip/chip.css.ts.vanilla.css?source=#H4sIAAAAAAAAE6VUTY
|
|
590
|
+
/* vanilla-extract-css-ns:src/components/chip/chip.css.ts.vanilla.css?source=#H4sIAAAAAAAAE6VUTY+bMBC976+w1EuQwmrT7ccuuURq1Vt76KFX5OCBTDJ4qG1Coir/vXIAkyhfTVeRUHh+M/PeY2BGcgtGMKlU2TQ3soSGzeqxAzIuK9agnT2D0GT6MHtTvfjzIMRjtsAq9ZcvJK39IUuwKaF1aTpxL4vl0+tyzxNCoa1IbhORE2yme8j/ixUayByyToTh5uCgMbJKhL+2YOFv19KM4tgPiAtZhSEfIs/ZXRKUsXYSNZhQsOpUhZNYyxISMVSflDxNj334Uh/F9cke6ztQN7RB5RaJyNHFXZPppYiWtXWYb3teIjLQDkx7KAkLHaOD0h4fzNkoMImYVBthmVB1ubV40PN+LJyR2lbSgHbRYW1spMLa9oEbrrVKU1pi2fx+5p4qs1WxP+p5AxKGTMZCs4auJGNi07P3N4H4PBbvXl79r+PyGkxO3CRigUqBvho0yTlQ6FVeXrqDNfItjtboYze5kkqhLo5428D6HB3im4B/io7T97ZPgxrQLovO9FV3BkpeQ5ikO3u3dN6ppzbWC6oYh1U6L3IW3hth3ZZgFMeSiBv70wtFXQQRMhHO1BB1iu94dsFebLBYuBsmd6fKRr00C9R+Yr6zGkLMEmFRFwSR4MHGRW5Zk8OKIPovK2ezPaO5l4H2K1o5JxheJPWGJPvxml37oEANEu7buRvNLvr5xlltD+xAb4dPWL/Q4pyG0fk/OL+olmtHqOFw0Vudu7/tQ5IuPwcAAA== */
|
|
591
591
|
@layer old_ds_framework.old_ds_components.old_ds_components.l1;
|
|
592
592
|
@layer old_ds_framework.old_ds_components.old_ds_components.l1 {
|
|
593
593
|
.chip_chipClassNames_list__1t8hj09j {
|
|
@@ -609,7 +609,7 @@
|
|
|
609
609
|
border: 1px solid var(--border__1t8hj092, transparent);
|
|
610
610
|
border-radius: var(--round__ljimwq3o);
|
|
611
611
|
background: var(--background__1t8hj091, none);
|
|
612
|
-
color: var(--color__1t8hj093,
|
|
612
|
+
color: var(--color__1t8hj093, #898989);
|
|
613
613
|
overflow: hidden;
|
|
614
614
|
}
|
|
615
615
|
.chip_chipClassNames_label__1t8hj09m {
|
|
@@ -618,14 +618,14 @@
|
|
|
618
618
|
padding: var(--chip-y__1t8hj097) var(--chip-x__1t8hj096);
|
|
619
619
|
border: none;
|
|
620
620
|
background: none;
|
|
621
|
-
color:
|
|
621
|
+
color: #898989;
|
|
622
622
|
}
|
|
623
623
|
.chip_chipClassNames_remove__1t8hj09n {
|
|
624
624
|
padding: var(--chip-y__1t8hj097);
|
|
625
625
|
border: none;
|
|
626
626
|
background: none;
|
|
627
627
|
cursor: pointer;
|
|
628
|
-
color:
|
|
628
|
+
color: #898989;
|
|
629
629
|
}
|
|
630
630
|
@container style(--allowsRemoving__1t8hj09a: true) {
|
|
631
631
|
.chip_chipClassNames_label__1t8hj09m {
|
|
@@ -840,10 +840,10 @@
|
|
|
840
840
|
}
|
|
841
841
|
}
|
|
842
842
|
|
|
843
|
-
/* vanilla-extract-css-ns:src/components/date-input/date-input.css.ts.vanilla.css?source=#
|
|
843
|
+
/* vanilla-extract-css-ns:src/components/date-input/date-input.css.ts.vanilla.css?source=#H4sIAAAAAAAAE6WTTYvbMBCG7/4VA6WwBmtJWiitcwl0L3vZyx56FBNLcbTRh1eSP0LJfy+ypXbdhNZLMNjyzDzzvnjGW4knbsFIRpmje4uK98Ye72OgMqoxmmvvrkTkepPdM/ScCN20nobjYzh9l+jcEyruqKiMppXRHoXmltLu08EeOws/M4DKSGNL6NDeETK+pLwp4MPXb+HKN9k5295kctT6r88xc2HUjXCwGhNEo+IlXO32N7zaZADnxeLTPbI+CjPhGomnEvaSD5sxVGOTPtqIkBqbhIl8qmmQMaHred0pVR0KWOWz1JBSdUhNPXbGMm5LWDcDOCMFi8QUT4AuwFvUrkHLtZ+hxCITrUsmnKJUvgjVv36WsU4JTXrB/GFuVAn9I0STxksB2HoToStA/7b6WMBeeBJG9seRwuGqEg4zJVnAerX6GKF/LGj+vtk6XquwjolvF403UW8nrBYrR/pyqbtlS/0c1S/2en27g3JvqtaRTjixkzz6Ma2XQvMStNH8vRrpGRX65Qrb3/bA+ZPkYTncg3C4k5ylfl9K8LbleWx0wx8NULXWhb3SxhOU0vScTaM/j47OvwBXuulXlAUAAA== */
|
|
844
844
|
@layer old_ds_framework.old_ds_components.old_ds_components.l1;
|
|
845
845
|
.date-input_dateInputClassNames_icon_container__v2hrkvr {
|
|
846
|
-
color: var(--color__v2hrkvo,
|
|
846
|
+
color: var(--color__v2hrkvo, #898989);
|
|
847
847
|
}
|
|
848
848
|
@layer old_ds_framework.old_ds_components.old_ds_components.l1 {
|
|
849
849
|
.date-input_dateInputClassNames_input_container__v2hrkvs {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/.pnpm/@ladle+react@5.1.0_@swc+helpers@0.5.17_@types+node@24.9.1_@types+react@19.
|
|
1
|
+
{"version":3,"sources":["../../../node_modules/.pnpm/@ladle+react@5.1.0_@swc+helpers@0.5.17_@types+node@24.9.1_@types+react@19.2.2_jiti@2.6._53e1e0ea88e607d1df5fe4b5cc2f9745/node_modules/@ladle/react/lib/app/exports.ts","../../src/ladle/actions.ts"],"names":[],"mappings":";;;;;;;;;AAkDO,IAAM,MAAA,GAAS,CAAC,IAAA,KAAiB;AACtC,EAAA,MAAM,WAAY,MAAA,CACf,aAAA;AACH,EAAA,OAAO,CAAC,KAAA,GAAa,MAAA,KACnB,QAAA,CAAS;AAAA,IACP,MAAM,UAAA,CAAW,YAAA;AAAA,IACjB,KAAA,EAAO,EAAE,IAAA,EAAM,KAAA,EAAM;AAAA,IACrB,KAAA,EAAO;AAAA,GACR,CAAA;AACL,CAAA;;;ACzDO,SAAS,WAAc,IAAA,EAA+B;AAC3D,EAAA,OAAO,IAAA,CAAK,MAAA,CAAmB,CAAC,GAAA,EAAK,GAAA,KAAQ;AAC3C,IAAA,GAAA,CAAI,GAAG,CAAA,GAAI,MAAA,CAAO,GAAa,CAAA;AAE/B,IAAA,OAAO,GAAA;AAAA,EACT,CAAA,EAAG,EAAE,CAAA;AACP","file":"actions.js","sourcesContent":["import type * as React from \"react\";\nimport { useLadleContext } from \"./src/context\";\nimport {\n StoryDecorator,\n ActionType,\n GlobalState,\n ThemeState,\n ModeState,\n GlobalAction,\n Config,\n KnownMeta,\n MetaJson as BaseMetaJson,\n MetaJsonStory as BaseMetaJsonStory,\n} from \"../shared/types\";\n\nimport * as msw from \"msw\";\nexport { msw };\n\nexport type { UserConfig } from \"../shared/types\";\nexport * as ui from \"./src/ui\";\nexport * as dialog from \"./src/dialog\";\nexport * as icons from \"./src/icons\";\nexport { useMDXComponents } from \"@mdx-js/react\";\nexport const Story = (props: any) => props.children;\nexport const Meta = (props: any) => props.children;\nexport const Description = (props: any) => props.children;\n\ntype ReactNodeWithoutObject =\n | React.ReactElement\n | string\n | number\n | boolean\n | null\n | undefined;\n\nexport { useLadleContext, ActionType, ThemeState, ModeState };\nexport type { StoryDecorator };\n\n// deprecated, linkTo is just easier to use\nexport const useLink = () => {\n const { dispatch } = useLadleContext();\n return (value: string) => dispatch({ type: ActionType.UpdateStory, value });\n};\n\nexport const linkTo = (value: string) => {\n const dispatch = (window as any)\n .ladleDispatch as React.Dispatch<GlobalAction>;\n return () => dispatch({ type: ActionType.UpdateStory, value });\n};\n\nexport const action = (name: string) => {\n const dispatch = (window as any)\n .ladleDispatch as React.Dispatch<GlobalAction>;\n return (event: any = undefined) =>\n dispatch({\n type: ActionType.UpdateAction,\n value: { name, event },\n clear: false,\n });\n};\n\nexport type { GlobalAction, GlobalState };\n\nexport type GlobalProvider = React.FC<{\n globalState: GlobalState;\n dispatch: React.Dispatch<GlobalAction>;\n config: Config;\n children: ReactNodeWithoutObject;\n storyMeta?: Meta;\n}>;\n\nexport type SourceHeader = React.FC<{\n path: string;\n locStart: number;\n locEnd: number;\n}>;\n\nexport interface StoryDefault<P = {}> {\n args?: Args<P>;\n argTypes?: ArgTypes<P>;\n decorators?: StoryDecorator<P>[];\n meta?: Meta;\n title?: string;\n msw?: msw.RequestHandler[];\n parameters?: { [key: string]: any };\n}\n\nexport interface Story<P = {}> extends React.FC<P> {\n args?: Args<P>;\n argTypes?: ArgTypes<P>;\n decorators?: StoryDecorator<P>[];\n meta?: Meta;\n storyName?: string;\n msw?: msw.RequestHandler[];\n parameters?: { [key: string]: any };\n}\n\nexport type Args<\n P = {\n [key: string]: any;\n },\n> = Partial<P>;\n\nexport type ControlType =\n | \"select\"\n | \"multi-select\"\n | \"radio\"\n | \"inline-radio\"\n | \"check\"\n | \"inline-check\"\n | \"background\"\n | \"color\"\n | \"date\"\n | \"number\"\n | \"text\"\n | \"boolean\"\n | \"range\";\n\nexport interface ArgType<K = any> {\n control?: {\n name?: string;\n labels?: { [key: string]: string };\n type: ControlType;\n min?: number;\n max?: number;\n step?: number;\n [key: string]: any;\n };\n mapping?: { [key: string | number]: any };\n options?: K[] | unknown;\n defaultValue?: K;\n description?: string;\n name?: string;\n action?: string;\n [key: string]: any;\n}\n\nexport type ArgTypes<\n P = {\n [key: string]: any;\n },\n> = {\n [key in keyof P]?: ArgType<P[key]>;\n};\n\nexport interface Meta extends KnownMeta {\n [key: string]: any;\n}\n\nexport type MetaJson = BaseMetaJson<Meta>;\nexport type MetaJsonStory = BaseMetaJsonStory<Meta>;\n","import { action } from '@ladle/react';\n\nexport function actions<T>(...keys: (keyof T)[]): Partial<T> {\n return keys.reduce<Partial<T>>((acc, key) => {\n acc[key] = action(key as string) as T[keyof T];\n\n return acc;\n }, {});\n}\n"]}
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
*/
|
|
10
10
|
declare const layers: {
|
|
11
11
|
reset: string;
|
|
12
|
-
variables: Record<"
|
|
12
|
+
variables: Record<"l2" | "l1" | "l3" | "l4" | "l5", string>;
|
|
13
13
|
styles: string;
|
|
14
|
-
components: Record<"
|
|
15
|
-
overrides: Record<"
|
|
14
|
+
components: Record<"l2" | "l1" | "l3" | "l4" | "l5", string>;
|
|
15
|
+
overrides: Record<"l2" | "l1" | "l3" | "l4" | "l5", string>;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
export { layers };
|
package/dist/test/setup.js
CHANGED
|
@@ -3877,7 +3877,7 @@ typeof document !== "undefined" && document.body ? getQueriesForElement(document
|
|
|
3877
3877
|
return helpers;
|
|
3878
3878
|
}, initialValue);
|
|
3879
3879
|
|
|
3880
|
-
// ../node_modules/.pnpm/@testing-library+react@16.3.0_@testing-library+dom@10.4.0_@types+react-dom@19.
|
|
3880
|
+
// ../node_modules/.pnpm/@testing-library+react@16.3.0_@testing-library+dom@10.4.0_@types+react-dom@19.2.2_@type_42dafc68f916d85688afcbd0763451e5/node_modules/@testing-library/react/dist/@testing-library/react.esm.js
|
|
3881
3881
|
var reactAct = typeof React.act === "function" ? React.act : DeprecatedReactTestUtils.act;
|
|
3882
3882
|
function getGlobalThis() {
|
|
3883
3883
|
if (typeof globalThis !== "undefined") {
|