@stenajs-webui/core 17.4.1 → 17.7.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.
Files changed (70) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/components/decorators/separatorline/SeparatorLine.d.ts +9 -9
  3. package/dist/components/deprecated-text/HeaderText.d.ts +6 -6
  4. package/dist/components/deprecated-text/LargeText.d.ts +6 -6
  5. package/dist/components/deprecated-text/SmallText.d.ts +6 -6
  6. package/dist/components/deprecated-text/SmallerText.d.ts +6 -6
  7. package/dist/components/deprecated-text/StandardText.d.ts +6 -6
  8. package/dist/components/heading/Heading.d.ts +11 -11
  9. package/dist/components/interaction/Clickable.d.ts +48 -48
  10. package/dist/components/layout/box/Box.d.ts +75 -75
  11. package/dist/components/layout/box/ResizeAwareBox.d.ts +7 -7
  12. package/dist/components/layout/column/Column.d.ts +3 -3
  13. package/dist/components/layout/indent/Indent.d.ts +7 -7
  14. package/dist/components/layout/row/Row.d.ts +3 -3
  15. package/dist/components/layout/space/Space.d.ts +8 -8
  16. package/dist/components/layout/spacing/Spacing.d.ts +7 -7
  17. package/dist/components/text/Text.d.ts +15 -15
  18. package/dist/components/util/Nest.d.ts +9 -9
  19. package/dist/hooks/UseArraySet.d.ts +9 -9
  20. package/dist/hooks/UseBoolean.d.ts +7 -7
  21. package/dist/hooks/UseDebounce.d.ts +1 -1
  22. package/dist/hooks/UseDelayedFalse.d.ts +1 -1
  23. package/dist/hooks/UseDomId.d.ts +1 -1
  24. package/dist/hooks/UseElementDimensions.d.ts +15 -15
  25. package/dist/hooks/UseElementFocus.d.ts +6 -6
  26. package/dist/hooks/UseEventListener.d.ts +4 -4
  27. package/dist/hooks/UseForwardedRef.d.ts +2 -2
  28. package/dist/hooks/UseMouseIsEntered.d.ts +2 -2
  29. package/dist/hooks/UseMouseIsOver.d.ts +2 -2
  30. package/dist/hooks/UseMultiOnClickOutside.d.ts +2 -2
  31. package/dist/hooks/UseOnClickOutside.d.ts +2 -2
  32. package/dist/hooks/UseOnNoMouseInput.d.ts +1 -1
  33. package/dist/hooks/UseOnScreen.d.ts +2 -2
  34. package/dist/hooks/UseTimeoutState.d.ts +1 -1
  35. package/dist/index.d.ts +44 -44
  36. package/dist/index.es.js +711 -690
  37. package/dist/index.es.js.map +1 -1
  38. package/dist/index.js +80 -793
  39. package/dist/index.js.map +1 -1
  40. package/dist/storybook-helpers/storybook-controls.d.ts +46 -46
  41. package/dist/types/DeepPartial.d.ts +3 -3
  42. package/dist/types/ElementProps.d.ts +18 -18
  43. package/dist/types/FlattenUnion.d.ts +5 -5
  44. package/dist/types/Omit.d.ts +1 -1
  45. package/dist/types/PickByValue.d.ts +3 -3
  46. package/dist/utils/BooleanOrNumberToNumber.d.ts +1 -1
  47. package/dist/utils/PropsForwarder.d.ts +1 -1
  48. package/dist/utils/SwitchCaseExhauster.d.ts +2 -2
  49. package/dist/utils/TruthyKeysAsList.d.ts +1 -1
  50. package/dist/utils/parsers/NumberParser.d.ts +2 -2
  51. package/package.json +7 -10
  52. package/dist/components/decorators/separatorline/SeparatorLine.stories.d.ts +0 -29
  53. package/dist/components/heading/Heading.stories.d.ts +0 -16
  54. package/dist/components/interaction/Clickable.stories.d.ts +0 -13
  55. package/dist/components/layout/box/Box.stories.d.ts +0 -68
  56. package/dist/components/layout/box/ResponsiveBox.stories.d.ts +0 -10
  57. package/dist/components/layout/column/Column.stories.d.ts +0 -13
  58. package/dist/components/layout/indent/Indent.stories.d.ts +0 -8
  59. package/dist/components/layout/row/Row.stories.d.ts +0 -8
  60. package/dist/components/layout/space/Space.stories.d.ts +0 -8
  61. package/dist/components/layout/spacing/Spacing.stories.d.ts +0 -8
  62. package/dist/components/text/Text.stories.d.ts +0 -31
  63. package/dist/components/util/__tests__/Nest.test.d.ts +0 -0
  64. package/dist/hooks/__tests__/UseArraySet.test.d.ts +0 -1
  65. package/dist/hooks/__tests__/UseBoolean.test.d.ts +0 -1
  66. package/dist/hooks/__tests__/UseDebounce.test.d.ts +0 -1
  67. package/dist/hooks/__tests__/UseMultiOnClickOutside.test.d.ts +0 -1
  68. package/dist/hooks/__tests__/UseOnClickOutside.test.d.ts +0 -1
  69. package/dist/utils/__tests__/PropsForwarder.test.d.ts +0 -1
  70. package/dist/utils/__tests__/TruthyKeysAsList.test.d.ts +0 -1
@@ -1,68 +0,0 @@
1
- import * as React from "react";
2
- import { BoxProps } from "./Box";
3
- import { Story } from "@storybook/react";
4
- declare const _default: {
5
- title: string;
6
- component: import("@emotion/styled").StyledComponent<{
7
- theme?: import("@emotion/react").Theme | undefined;
8
- as?: React.ElementType<any> | undefined;
9
- } & BoxProps & import("styled-system").BoxShadowProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> & import("styled-system").BackgroundProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.Background<import("styled-system").TLengthStyledSystem>>, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
10
- parameters: {
11
- notes: {
12
- markdown: any;
13
- };
14
- };
15
- argTypes: {
16
- color: {
17
- control: {
18
- type: string;
19
- options: string[];
20
- };
21
- };
22
- background: {
23
- control: {
24
- type: string;
25
- options: string[];
26
- };
27
- };
28
- shadow: {
29
- control: {
30
- type: string;
31
- options: string[];
32
- };
33
- };
34
- indent: {
35
- control: {
36
- type: string;
37
- min: number;
38
- max: number;
39
- step: number;
40
- };
41
- };
42
- spacing: {
43
- control: {
44
- type: string;
45
- min: number;
46
- max: number;
47
- step: number;
48
- };
49
- };
50
- };
51
- };
52
- export default _default;
53
- export declare const Overview: Story<BoxProps>;
54
- export declare const Row: () => JSX.Element;
55
- export declare const RowWithJustifyContent: () => JSX.Element;
56
- export declare const WithDomAttributes: () => JSX.Element;
57
- export declare const Background: () => JSX.Element;
58
- export declare const CustomBackground: () => JSX.Element;
59
- export declare const GradientBackground: () => JSX.Element;
60
- export declare const IndentAndSpacing: () => JSX.Element;
61
- export declare const Border: () => JSX.Element;
62
- export declare const CustomBorder: () => JSX.Element;
63
- export declare const BoxShadow: () => JSX.Element;
64
- export declare const ModalShadow: () => JSX.Element;
65
- export declare const CustomShadow: () => JSX.Element;
66
- export declare const FlexGrowChildren: () => JSX.Element;
67
- export declare const WithAriaLabel: () => JSX.Element;
68
- export declare const Gap: () => JSX.Element;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const createIndexArray: (length: number) => number[];
3
- declare const _default: {
4
- title: string;
5
- excludeStories: string[];
6
- };
7
- export default _default;
8
- export declare const Standard: () => JSX.Element;
9
- export declare const IndentSpacing: () => JSX.Element;
10
- export declare const OtherProps: () => JSX.Element;
@@ -1,13 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: {
3
- title: string;
4
- component: React.ForwardRefExoticComponent<import("../box/Box").BoxProps & React.RefAttributes<HTMLDivElement>>;
5
- };
6
- export default _default;
7
- export declare const Standard: () => JSX.Element;
8
- export declare const WithJustifyContentFlexStart: () => JSX.Element;
9
- export declare const WithJustifyContentCenter: () => JSX.Element;
10
- export declare const WithJustifyContentFlexEnd: () => JSX.Element;
11
- export declare const WithAlignItemsFlexStart: () => JSX.Element;
12
- export declare const WithAlignItemsCenter: () => JSX.Element;
13
- export declare const WithAlignItemsFlexEnd: () => JSX.Element;
@@ -1,8 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: {
3
- title: string;
4
- component: React.ForwardRefExoticComponent<import("./Indent").IndentProps & React.RefAttributes<HTMLDivElement>>;
5
- };
6
- export default _default;
7
- export declare const Standard: () => JSX.Element;
8
- export declare const WithNum2: () => JSX.Element;
@@ -1,8 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: {
3
- title: string;
4
- component: React.ForwardRefExoticComponent<import("../box/Box").BoxProps & React.RefAttributes<HTMLDivElement>>;
5
- };
6
- export default _default;
7
- export declare const Standard: () => JSX.Element;
8
- export declare const WithJustifyContent: () => JSX.Element;
@@ -1,8 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: {
3
- title: string;
4
- component: React.VFC<import("./Space").SpaceProps>;
5
- };
6
- export default _default;
7
- export declare const Overview: () => JSX.Element;
8
- export declare const Num2: () => JSX.Element;
@@ -1,8 +0,0 @@
1
- import * as React from "react";
2
- declare const _default: {
3
- title: string;
4
- component: React.ForwardRefExoticComponent<import("./Spacing").SpacingProps & React.RefAttributes<HTMLDivElement>>;
5
- };
6
- export default _default;
7
- export declare const Overview: () => JSX.Element;
8
- export declare const WithNum2: () => JSX.Element;
@@ -1,31 +0,0 @@
1
- import * as React from "react";
2
- import { TextProps } from "./Text";
3
- import { Story } from "@storybook/react";
4
- declare const _default: {
5
- title: string;
6
- component: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLSpanElement>>;
7
- argTypes: {
8
- color: {
9
- control: {
10
- type: string;
11
- options: string[];
12
- };
13
- };
14
- };
15
- };
16
- export default _default;
17
- export declare const Overview: Story<TextProps>;
18
- export declare const Body: () => JSX.Element;
19
- export declare const BodyWhite: () => JSX.Element;
20
- export declare const BodyBold: () => JSX.Element;
21
- export declare const Large: () => JSX.Element;
22
- export declare const LargeWhite: () => JSX.Element;
23
- export declare const LargeBold: () => JSX.Element;
24
- export declare const Small: () => JSX.Element;
25
- export declare const SmallWhite: () => JSX.Element;
26
- export declare const SmallBold: () => JSX.Element;
27
- export declare const Smaller: () => JSX.Element;
28
- export declare const SmallerWhite: () => JSX.Element;
29
- export declare const SmallerBold: () => JSX.Element;
30
- export declare const Caption: () => JSX.Element;
31
- export declare const Overline: () => JSX.Element;
File without changes
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};