@vygruppen/spor-react 4.1.0 → 5.0.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/.turbo/turbo-build.log +9 -11
- package/CHANGELOG.md +22 -0
- package/dist/{CountryCodeSelect-FBKDO5JS.mjs → CountryCodeSelect-YOBYHYCF.mjs} +1 -1
- package/dist/{chunk-FPWAXD72.mjs → chunk-UOZQ4EDI.mjs} +13 -1741
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +10 -1766
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
- package/src/button/Button.tsx +2 -2
- package/src/button/IconButton.tsx +2 -2
- package/src/datepicker/Calendar.tsx +3 -3
- package/src/datepicker/DateField.tsx +1 -1
- package/src/datepicker/DatePicker.tsx +3 -3
- package/src/datepicker/DateRangePicker.tsx +1 -1
- package/src/datepicker/RangeCalendar.tsx +3 -3
- package/src/popover/PopoverWizardBody.tsx +1 -1
- package/src/stepper/StepperStep.tsx +1 -1
- package/src/theme/components/button.ts +1 -1
- package/src/toast/ActionToast.tsx +1 -1
package/dist/index.d.mts
CHANGED
@@ -266,7 +266,7 @@ type ButtonProps = Exclude<ButtonProps$1, "colorScheme" | "loadingText" | "size"
|
|
266
266
|
*
|
267
267
|
* Defaults to "primary"
|
268
268
|
*/
|
269
|
-
variant?: "control" | "primary" | "secondary" | "
|
269
|
+
variant?: "control" | "primary" | "secondary" | "tertiary" | "ghost" | "floating";
|
270
270
|
};
|
271
271
|
/**
|
272
272
|
* Buttons are used to trigger actions.
|
@@ -276,7 +276,7 @@ type ButtonProps = Exclude<ButtonProps$1, "colorScheme" | "loadingText" | "size"
|
|
276
276
|
* - `control`: This button is used for ticket controls only.
|
277
277
|
* - `primary`: This is our main button. It's used for the main actions in a view, like a call to action. There should only be a single primary button in each view.
|
278
278
|
* - `secondary`: Used for secondary actions in a view, and when you need to make several actions available at the same time.
|
279
|
-
* - `
|
279
|
+
* - `tertiary`: Used for additional choices, like a less important secondary action.
|
280
280
|
* - `ghost`: Used inside other interactive elements, like date pickers and input fields.
|
281
281
|
* - `floating`: Used for floating actions, like a menu button in a menu.
|
282
282
|
*
|
@@ -334,7 +334,7 @@ type ButtonGroupProps = ButtonGroupProps$1;
|
|
334
334
|
declare const ButtonGroup: _chakra_ui_system_dist_system_types.ComponentWithAs<"div", ButtonGroupProps$1>;
|
335
335
|
|
336
336
|
type IconButtonProps = Omit<IconButtonProps$1, "variant"> & {
|
337
|
-
variant: "control" | "primary" | "secondary" | "
|
337
|
+
variant: "control" | "primary" | "secondary" | "tertiary" | "ghost" | "floating";
|
338
338
|
};
|
339
339
|
/**
|
340
340
|
* An icon-only button.
|
@@ -346,7 +346,7 @@ type IconButtonProps = Omit<IconButtonProps$1, "variant"> & {
|
|
346
346
|
* - `control`: This button is used for ticket controls only.
|
347
347
|
* - `primary`: This is our main button. It's used for the main actions in a view, like a call to action. There should only be a single primary button in each view.
|
348
348
|
* - `secondary`: Used for secondary actions in a view, and when you need to make several actions available at the same time.
|
349
|
-
* - `
|
349
|
+
* - `tertiary`: Used for additional choices, like a less important secondary action.
|
350
350
|
* - `ghost`: Used inside other interactive elements, like date pickers and input fields.
|
351
351
|
* - `floating`: Used for floating actions, like a menu button in a menu.
|
352
352
|
*
|
@@ -2363,7 +2363,7 @@ declare const theme: {
|
|
2363
2363
|
} | undefined;
|
2364
2364
|
defaultProps?: {
|
2365
2365
|
size?: "sm" | "md" | "lg" | "xs" | undefined;
|
2366
|
-
variant?: "primary" | "secondary" | "
|
2366
|
+
variant?: "primary" | "secondary" | "tertiary" | "ghost" | "floating" | undefined;
|
2367
2367
|
colorScheme?: string | undefined;
|
2368
2368
|
} | undefined;
|
2369
2369
|
};
|
package/dist/index.d.ts
CHANGED
@@ -266,7 +266,7 @@ type ButtonProps = Exclude<ButtonProps$1, "colorScheme" | "loadingText" | "size"
|
|
266
266
|
*
|
267
267
|
* Defaults to "primary"
|
268
268
|
*/
|
269
|
-
variant?: "control" | "primary" | "secondary" | "
|
269
|
+
variant?: "control" | "primary" | "secondary" | "tertiary" | "ghost" | "floating";
|
270
270
|
};
|
271
271
|
/**
|
272
272
|
* Buttons are used to trigger actions.
|
@@ -276,7 +276,7 @@ type ButtonProps = Exclude<ButtonProps$1, "colorScheme" | "loadingText" | "size"
|
|
276
276
|
* - `control`: This button is used for ticket controls only.
|
277
277
|
* - `primary`: This is our main button. It's used for the main actions in a view, like a call to action. There should only be a single primary button in each view.
|
278
278
|
* - `secondary`: Used for secondary actions in a view, and when you need to make several actions available at the same time.
|
279
|
-
* - `
|
279
|
+
* - `tertiary`: Used for additional choices, like a less important secondary action.
|
280
280
|
* - `ghost`: Used inside other interactive elements, like date pickers and input fields.
|
281
281
|
* - `floating`: Used for floating actions, like a menu button in a menu.
|
282
282
|
*
|
@@ -334,7 +334,7 @@ type ButtonGroupProps = ButtonGroupProps$1;
|
|
334
334
|
declare const ButtonGroup: _chakra_ui_system_dist_system_types.ComponentWithAs<"div", ButtonGroupProps$1>;
|
335
335
|
|
336
336
|
type IconButtonProps = Omit<IconButtonProps$1, "variant"> & {
|
337
|
-
variant: "control" | "primary" | "secondary" | "
|
337
|
+
variant: "control" | "primary" | "secondary" | "tertiary" | "ghost" | "floating";
|
338
338
|
};
|
339
339
|
/**
|
340
340
|
* An icon-only button.
|
@@ -346,7 +346,7 @@ type IconButtonProps = Omit<IconButtonProps$1, "variant"> & {
|
|
346
346
|
* - `control`: This button is used for ticket controls only.
|
347
347
|
* - `primary`: This is our main button. It's used for the main actions in a view, like a call to action. There should only be a single primary button in each view.
|
348
348
|
* - `secondary`: Used for secondary actions in a view, and when you need to make several actions available at the same time.
|
349
|
-
* - `
|
349
|
+
* - `tertiary`: Used for additional choices, like a less important secondary action.
|
350
350
|
* - `ghost`: Used inside other interactive elements, like date pickers and input fields.
|
351
351
|
* - `floating`: Used for floating actions, like a menu button in a menu.
|
352
352
|
*
|
@@ -2363,7 +2363,7 @@ declare const theme: {
|
|
2363
2363
|
} | undefined;
|
2364
2364
|
defaultProps?: {
|
2365
2365
|
size?: "sm" | "md" | "lg" | "xs" | undefined;
|
2366
|
-
variant?: "primary" | "secondary" | "
|
2366
|
+
variant?: "primary" | "secondary" | "tertiary" | "ghost" | "floating" | undefined;
|
2367
2367
|
colorScheme?: string | undefined;
|
2368
2368
|
} | undefined;
|
2369
2369
|
};
|