@rededor/cura 1.6.1-alpha.0 → 1.6.1-alpha.1

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.
@@ -1,98 +1,7 @@
1
- declare const _default: {
2
- title: string;
3
- tags: string[];
4
- render: ({ slot, ...args }: {
5
- [x: string]: any;
6
- slot: any;
7
- }) => string;
8
- argTypes: {
9
- hasPadding: {
10
- name: string;
11
- control: string;
12
- description: string;
13
- table: {
14
- category: string;
15
- defaultValue: {
16
- summary: string;
17
- };
18
- };
19
- };
20
- hasShadow: {
21
- name: string;
22
- control: string;
23
- description: string;
24
- table: {
25
- category: string;
26
- defaultValue: {
27
- summary: string;
28
- };
29
- };
30
- };
31
- type: {
32
- control: {
33
- type: string;
34
- };
35
- options: string[];
36
- description: string;
37
- table: {
38
- category: string;
39
- defaultValue: {
40
- summary: string;
41
- };
42
- };
43
- };
44
- href: {
45
- control: string;
46
- description: string;
47
- name: string;
48
- table: {
49
- category: string;
50
- };
51
- };
52
- target: {
53
- control: string;
54
- description: string;
55
- name: string;
56
- table: {
57
- category: string;
58
- defaultValue: {
59
- summary: string;
60
- };
61
- };
62
- };
63
- colorMode: {
64
- control: {
65
- type: string;
66
- };
67
- options: string[];
68
- description: string;
69
- table: {
70
- category: string;
71
- defaultValue: {
72
- summary: string;
73
- };
74
- };
75
- name: string;
76
- };
77
- slot: {
78
- name: string;
79
- control: string;
80
- description: string;
81
- table: {
82
- category: string;
83
- };
84
- };
85
- };
86
- };
87
- export default _default;
88
- export declare const CuraCard: {
89
- args: {
90
- hasPadding: boolean;
91
- hasShadow: boolean;
92
- type: string;
93
- colorMode: string;
94
- target: string;
95
- href: string;
96
- slot: string;
97
- };
98
- };
1
+ import type { Meta, StoryObj } from '@storybook/html';
2
+ declare const meta: Meta;
3
+ export default meta;
4
+ type Story = StoryObj;
5
+ export declare const Default: Story;
6
+ export declare const WithLink: Story;
7
+ export declare const Transparent: Story;
@@ -91,6 +91,7 @@ export declare class CuraDropdownSearch {
91
91
  connectedCallback(): void;
92
92
  componentDidLoad(): void;
93
93
  disconnectedCallback(): void;
94
+ removeAllListeners(): void;
94
95
  handleSlotChange: () => void;
95
96
  handleWindowResize: () => void;
96
97
  handleFocus: () => void;
@@ -185,5 +185,8 @@ export declare class CuraSelect {
185
185
  */
186
186
  renderIcon(): any;
187
187
  handleClick: (event: MouseEvent) => void;
188
+ handleClickOutside: (event: MouseEvent) => void;
189
+ private addOutsideClickListener;
190
+ private removeOutsideClickListener;
188
191
  render(): any;
189
192
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rededor/cura",
3
- "version": "1.6.1-alpha.0",
3
+ "version": "1.6.1-alpha.1",
4
4
  "description": "Cura Design System",
5
5
  "author": "Rede D`Or São Luiz",
6
6
  "license": "MIT",
@@ -24,7 +24,8 @@
24
24
  "generate": "stencil generate",
25
25
  "build:iconset": "node ./node/iconset-builder.js",
26
26
  "storybook": "npm run build && storybook dev -p 6006",
27
- "build-storybook": "storybook build"
27
+ "build-storybook": "storybook build",
28
+ "test-storybook": "test-storybook --coverage"
28
29
  },
29
30
  "dependencies": {
30
31
  "@stencil/core": "^4.22.0",
@@ -35,21 +36,24 @@
35
36
  "devDependencies": {
36
37
  "@stencil/react-output-target": "^0.5.3",
37
38
  "@stencil/sass": "^2.0.4",
38
- "@storybook/addon-essentials": "^7.6.7",
39
- "@storybook/addon-interactions": "^7.6.7",
40
- "@storybook/addon-links": "^7.6.7",
41
- "@storybook/blocks": "^7.6.7",
42
- "@storybook/html": "^7.6.7",
43
- "@storybook/html-webpack5": "^7.6.7",
44
- "@storybook/test": "^7.6.7",
39
+ "@storybook/addon-a11y": "^7.6.10",
40
+ "@storybook/addon-coverage": "^1.0.0",
41
+ "@storybook/addon-essentials": "^7.6.10",
42
+ "@storybook/addon-interactions": "^7.6.10",
43
+ "@storybook/addon-links": "^7.6.10",
44
+ "@storybook/blocks": "^7.6.10",
45
+ "@storybook/html": "^7.6.10",
46
+ "@storybook/html-webpack5": "^7.6.10",
47
+ "@storybook/test": "^7.6.10",
48
+ "@storybook/test-runner": "^0.16.0",
45
49
  "@types/jest": "^27.0.3",
46
50
  "jest": "^27.4.5",
47
51
  "jest-cli": "^27.4.5",
48
52
  "puppeteer": "^22.13.1",
49
53
  "react": "^18.2.0",
50
54
  "react-dom": "^18.2.0",
51
- "storybook": "^7.6.7",
55
+ "storybook": "^7.6.10",
52
56
  "svgo": "^3.3.2"
53
57
  },
54
- "gitHead": "d02af3eba6e79fcd7774d54c142bf5266ca904ea"
58
+ "gitHead": "8493f6585283cf5d16ca5e1ef34bc0067e929bc7"
55
59
  }