@randstad-uca/design-system 1.0.65 → 1.0.67

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randstad-uca/design-system",
3
- "version": "1.0.65",
3
+ "version": "1.0.67",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist",
@@ -4,8 +4,10 @@ declare const meta: Meta;
4
4
  export default meta;
5
5
  type Story = StoryObj;
6
6
  export declare const Default: Story;
7
- export declare const Hover: Story;
8
- export declare const Focus: Story;
9
- export declare const Disabled: Story;
7
+ export declare const DisabledOn: Story;
8
+ export declare const DisabledOff: Story;
9
+ export declare const DisabledErrorOn: Story;
10
+ export declare const DisabledErrorOff: Story;
10
11
  export declare const ErrorOn: Story;
11
12
  export declare const ErrorOff: Story;
13
+ export declare const GroupSelection: Story;
@@ -64,10 +64,15 @@ declare const _default: {
64
64
  helpLinkTooltipMessage: {
65
65
  control: string;
66
66
  };
67
+ isRenderClearButton: {
68
+ control: string;
69
+ description: string;
70
+ };
67
71
  };
68
72
  };
69
73
  export default _default;
70
74
  export declare const Default: StoryFn;
75
+ export declare const ClearButtonHidden: StoryFn;
71
76
  export declare const WithObjects: StoryFn;
72
77
  export declare const WithIcons: StoryFn;
73
78
  export declare const WithNoOptions: StoryFn;
@@ -1,5 +1,6 @@
1
1
  import type { StoryFn } from '@storybook/web-components';
2
2
  import '../components/Upload.ts';
3
+ import '../components/Snackbar';
3
4
  declare const _default: {
4
5
  title: string;
5
6
  component: string;
@@ -33,6 +34,16 @@ declare const _default: {
33
34
  description: string;
34
35
  defaultValue: number;
35
36
  };
37
+ showAlertInError: {
38
+ control: string;
39
+ description: string;
40
+ defaultValue: boolean;
41
+ };
42
+ isShowInfoSize: {
43
+ control: string;
44
+ description: string;
45
+ defaultValue: boolean;
46
+ };
36
47
  onFilesChanged: {
37
48
  action: string;
38
49
  };
@@ -41,7 +52,9 @@ declare const _default: {
41
52
  export default _default;
42
53
  export declare const Default: StoryFn;
43
54
  export declare const FileSizeLimitAndLabel: StoryFn;
55
+ export declare const HideSizeInfo: StoryFn;
44
56
  export declare const CustomLabelColor: StoryFn;
45
57
  export declare const InstantUpload: StoryFn;
46
58
  export declare const SlowUpload: StoryFn;
47
59
  export declare const Disabled: StoryFn;
60
+ export declare const WithSnackbar: StoryFn;
@@ -1,5 +1,6 @@
1
1
  import type { StoryFn } from '@storybook/web-components';
2
2
  import '../components/File';
3
+ import '../components/Snackbar';
3
4
  declare const _default: {
4
5
  title: string;
5
6
  component: string;
@@ -82,6 +83,15 @@ declare const _default: {
82
83
  helpLinkTooltipMessage: {
83
84
  control: string;
84
85
  };
86
+ showAlertInError: {
87
+ control: string;
88
+ description: string;
89
+ defaultValue: boolean;
90
+ };
91
+ typeTextFile: {
92
+ control: string;
93
+ description: string;
94
+ };
85
95
  onFilesChanged: {
86
96
  action: string;
87
97
  };
@@ -104,3 +114,5 @@ export declare const WithHelpLink: StoryFn;
104
114
  export declare const WithHelpLinkAndTooltip: StoryFn;
105
115
  export declare const InstantUpload: StoryFn;
106
116
  export declare const SlowUpload: StoryFn;
117
+ export declare const WithSnackbar: StoryFn;
118
+ export declare const WithAlerts: StoryFn;
@@ -0,0 +1,2 @@
1
+ import { CSSResult } from "lit";
2
+ export declare const focusStyles: CSSResult;
@@ -0,0 +1,10 @@
1
+ import { css, CSSResult } from "lit";
2
+
3
+ export const focusStyles: CSSResult = css `
4
+ button:focus-visible {
5
+ outline: 2px solid rgb( 0, 215, 255 );
6
+ outline-offset: 1px;
7
+ border-radius: 4px;
8
+ z-index: 100;
9
+ }
10
+ `;
@@ -1,8 +1,11 @@
1
1
 
2
2
  import { css, CSSResult } from "lit";
3
3
  import { bodyL, bodyM, bodyXS } from "./fontStyles";
4
+ import { focusStyles } from "./focus";
4
5
 
5
6
  export const mixStyles: CSSResult = css `
7
+ ${ focusStyles }
8
+
6
9
  :host {
7
10
  display: block;
8
11
  font-family: "Graphik", sans-serif;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randstad-uca/design-system",
3
- "version": "1.0.65",
3
+ "version": "1.0.67",
4
4
  "main": "dist/index.js",
5
5
  "files": [
6
6
  "dist",