@indico-data/design-system 2.17.1 → 2.18.0
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/lib/index.css +616 -151
- package/lib/index.d.ts +9 -9
- package/lib/index.esm.css +616 -151
- package/lib/index.esm.js +5 -453
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +5 -453
- package/lib/index.js.map +1 -1
- package/lib/src/components/button/Button.stories.d.ts +1 -0
- package/lib/src/components/table/Table.d.ts +1 -10
- package/lib/src/components/table/types.d.ts +10 -0
- package/lib/src/legacy/components/modals/ModalBase/ModalBase.d.ts +0 -1
- package/lib/src/types.d.ts +2 -0
- package/package.json +1 -1
- package/src/components/button/Button.mdx +6 -3
- package/src/components/button/Button.stories.tsx +8 -0
- package/src/components/button/Button.tsx +14 -6
- package/src/components/button/__tests__/Button.test.tsx +38 -0
- package/src/components/button/styles/Button.scss +14 -22
- package/src/components/button/styles/_variables.scss +77 -4
- package/src/components/forms/checkbox/styles/Checkbox.scss +3 -3
- package/src/components/forms/input/styles/Input.scss +2 -4
- package/src/components/forms/passwordInput/styles/PasswordInput.scss +2 -4
- package/src/components/forms/radio/styles/Radio.scss +3 -3
- package/src/components/forms/select/styles/Select.scss +21 -4
- package/src/components/forms/textarea/styles/Textarea.scss +2 -3
- package/src/components/forms/toggle/styles/Toggle.scss +2 -2
- package/src/components/table/Table.tsx +1 -16
- package/src/components/table/types.ts +20 -0
- package/src/legacy/components/inputs/NoInputDatePicker/NoInputDatePicker.scss +441 -0
- package/src/legacy/components/inputs/NoInputDatePicker/NoInputDatePicker.tsx +3 -4
- package/src/legacy/components/modals/ModalBase/ModalBase.tsx +5 -1
- package/src/styles/globals.scss +11 -0
- package/src/styles/index.scss +2 -2
- package/src/styles/variables/themes/dark.scss +8 -7
- package/src/styles/variables/themes/light.scss +1 -0
- package/src/types.ts +3 -0
- package/lib/src/legacy/components/inputs/NoInputDatePicker/NoInputDatePicker.styles.d.ts +0 -1
- package/src/legacy/components/inputs/NoInputDatePicker/NoInputDatePicker.styles.ts +0 -449
package/lib/index.d.ts
CHANGED
|
@@ -681,7 +681,6 @@ type ModalBaseProps = PermafrostComponent$1 & {
|
|
|
681
681
|
children: React$1.ReactNode | React$1.ReactNode[];
|
|
682
682
|
clickToDismiss?(): void;
|
|
683
683
|
describedBy?: string;
|
|
684
|
-
/** a selector representing the desired parent; defaults to `#root` */
|
|
685
684
|
node?: string;
|
|
686
685
|
open: boolean;
|
|
687
686
|
preventEscDismiss?: boolean;
|
|
@@ -891,6 +890,15 @@ type SelectOption = {
|
|
|
891
890
|
[key: string]: any;
|
|
892
891
|
};
|
|
893
892
|
|
|
893
|
+
type Direction = `${Direction$1}`;
|
|
894
|
+
type Alignment = `${Alignment$1}`;
|
|
895
|
+
type TableProps<T> = Omit<TableProps$1<T>, 'disabled' | 'progressPending' | 'direction' | 'subHeaderAlign'> & {
|
|
896
|
+
isDisabled?: boolean;
|
|
897
|
+
isLoading?: boolean;
|
|
898
|
+
direction?: Direction;
|
|
899
|
+
subHeaderAlign?: Alignment;
|
|
900
|
+
};
|
|
901
|
+
|
|
894
902
|
type PermafrostComponent = {
|
|
895
903
|
id?: string;
|
|
896
904
|
className?: string;
|
|
@@ -909,14 +917,6 @@ type IconProps = PermafrostComponent & {
|
|
|
909
917
|
|
|
910
918
|
declare const Icon: ({ name, size, className, ariaLabel, ...props }: IconProps) => react_jsx_runtime.JSX.Element | null;
|
|
911
919
|
|
|
912
|
-
type Direction = `${Direction$1}`;
|
|
913
|
-
type Alignment = `${Alignment$1}`;
|
|
914
|
-
type TableProps<T> = Omit<TableProps$1<T>, 'disabled' | 'progressPending' | 'direction' | 'subHeaderAlign'> & {
|
|
915
|
-
isDisabled?: boolean;
|
|
916
|
-
isLoading?: boolean;
|
|
917
|
-
direction?: Direction;
|
|
918
|
-
subHeaderAlign?: Alignment;
|
|
919
|
-
};
|
|
920
920
|
declare const Table: <T>(props: TableProps<T>) => react_jsx_runtime.JSX.Element;
|
|
921
921
|
|
|
922
922
|
interface InputProps {
|