@dt-dds/react-sidebar 1.0.0-beta.1 → 1.0.0-beta.11

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/CHANGELOG.md CHANGED
@@ -1,5 +1,142 @@
1
1
  # @dt-dds/react-sidebar
2
2
 
3
+ ## 1.0.0-beta.11
4
+
5
+ ### Patch Changes
6
+
7
+ - chore: remove inflight dependency
8
+ - Updated dependencies
9
+ - @dt-dds/react-core@1.0.0-beta.62
10
+ - @dt-dds/react-icon@1.0.0-beta.66
11
+ - @dt-dds/react-icon-button@1.0.0-beta.32
12
+ - @dt-dds/react-tooltip@1.0.0-beta.73
13
+ - @dt-dds/react-typography@1.0.0-beta.53
14
+ - @dt-dds/themes@1.0.0-beta.17
15
+
16
+ ## 1.0.0-beta.10
17
+
18
+ ### Patch Changes
19
+
20
+ - chore(theme): move tsx to dev dependencies
21
+ - Updated dependencies
22
+ - @dt-dds/themes@1.0.0-beta.16
23
+ - @dt-dds/react-core@1.0.0-beta.61
24
+ - @dt-dds/react-icon@1.0.0-beta.65
25
+ - @dt-dds/react-icon-button@1.0.0-beta.31
26
+ - @dt-dds/react-tooltip@1.0.0-beta.72
27
+ - @dt-dds/react-typography@1.0.0-beta.52
28
+
29
+ ## 1.0.0-beta.9
30
+
31
+ ### Patch Changes
32
+
33
+ - docs: fixed multiple typos in markdown files.
34
+ - Updated dependencies
35
+ - @dt-dds/react-tooltip@1.0.0-beta.71
36
+
37
+ ## 1.0.0-beta.8
38
+
39
+ ### Patch Changes
40
+
41
+ - chore: update to ESLint 10
42
+ - chore: update to ESLint 9
43
+ - fix: default icon type in themes
44
+ - Updated dependencies
45
+ - Updated dependencies
46
+ - Updated dependencies
47
+ - @dt-dds/react-core@1.0.0-beta.60
48
+ - @dt-dds/react-tooltip@1.0.0-beta.70
49
+ - @dt-dds/react-icon@1.0.0-beta.64
50
+ - @dt-dds/react-icon-button@1.0.0-beta.30
51
+ - @dt-dds/react-typography@1.0.0-beta.51
52
+ - @dt-dds/themes@1.0.0-beta.15
53
+
54
+ ## 1.0.0-beta.7
55
+
56
+ ### Patch Changes
57
+
58
+ - fix: add displayName to Icon and IconButton for production builds
59
+ - Updated dependencies
60
+ - @dt-dds/react-icon@1.0.0-beta.63
61
+ - @dt-dds/react-icon-button@1.0.0-beta.29
62
+
63
+ ## 1.0.0-beta.6
64
+
65
+ ### Minor Changes
66
+
67
+ - feat: change theme icons to sharp
68
+
69
+ ### Patch Changes
70
+
71
+ - Updated dependencies
72
+ - @dt-dds/react-icon@1.0.0-beta.62
73
+ - @dt-dds/react-icon-button@1.0.0-beta.28
74
+ - @dt-dds/themes@1.0.0-beta.14
75
+ - @dt-dds/react-core@1.0.0-beta.59
76
+ - @dt-dds/react-tooltip@1.0.0-beta.69
77
+ - @dt-dds/react-typography@1.0.0-beta.50
78
+
79
+ ## 1.0.0-beta.5
80
+
81
+ ### Patch Changes
82
+
83
+ - chore: standardise license file naming
84
+ - Updated dependencies
85
+ - @dt-dds/react-core@1.0.0-beta.58
86
+ - @dt-dds/react-icon@1.0.0-beta.61
87
+ - @dt-dds/react-icon-button@1.0.0-beta.27
88
+ - @dt-dds/react-tooltip@1.0.0-beta.68
89
+ - @dt-dds/react-typography@1.0.0-beta.49
90
+ - @dt-dds/themes@1.0.0-beta.13
91
+
92
+ ## 1.0.0-beta.4
93
+
94
+ ### Patch Changes
95
+
96
+ - refactor: remove custom icons
97
+ - Updated dependencies
98
+ - @dt-dds/react-tooltip@1.0.0-beta.67
99
+
100
+ ## 1.0.0-beta.3
101
+
102
+ ### Minor Changes
103
+
104
+ - feat: change Typo default color
105
+
106
+ ### Patch Changes
107
+
108
+ - fix: change color logic on typography
109
+ - Updated dependencies
110
+ - Updated dependencies
111
+ - @dt-dds/react-typography@1.0.0-beta.48
112
+ - @dt-dds/themes@1.0.0-beta.12
113
+ - @dt-dds/react-core@1.0.0-beta.57
114
+ - @dt-dds/react-icon@1.0.0-beta.60
115
+ - @dt-dds/react-icon-button@1.0.0-beta.26
116
+ - @dt-dds/react-tooltip@1.0.0-beta.66
117
+
118
+ ## 1.0.0-beta.2
119
+
120
+ ### Minor Changes
121
+
122
+ - feat: auto-generate themes from tokens
123
+
124
+ ### Patch Changes
125
+
126
+ - chore(themes): package.json clean-up
127
+ - test: update snapshots for token changes
128
+ - chore(tokens): update token files
129
+ - Updated dependencies
130
+ - Updated dependencies
131
+ - Updated dependencies
132
+ - Updated dependencies
133
+ - @dt-dds/themes@1.0.0-beta.11
134
+ - @dt-dds/react-core@1.0.0-beta.56
135
+ - @dt-dds/react-icon@1.0.0-beta.59
136
+ - @dt-dds/react-icon-button@1.0.0-beta.25
137
+ - @dt-dds/react-tooltip@1.0.0-beta.65
138
+ - @dt-dds/react-typography@1.0.0-beta.47
139
+
3
140
  ## 1.0.0-beta.1
4
141
 
5
142
  ### Minor Changes
package/dist/index.js CHANGED
@@ -311,7 +311,7 @@ var findDirectSidebarItems = (node) => {
311
311
  var isIconElement = (child) => {
312
312
  if (!(0, import_react5.isValidElement)(child)) return false;
313
313
  const componentType = child.type;
314
- if ((componentType == null ? void 0 : componentType.displayName) === "Icon" || (componentType == null ? void 0 : componentType.displayName) === "IconButton" || (componentType == null ? void 0 : componentType.displayName) === "SidebarToggle")
314
+ if ((componentType == null ? void 0 : componentType.displayName) === "Icon" || (componentType == null ? void 0 : componentType.displayName) === "IconButton" || (componentType == null ? void 0 : componentType.displayName) === "Sidebar.Toggle")
315
315
  return true;
316
316
  if (typeof child.type === "function" && (child.type.name === "Icon" || child.type.name === "IconButton" || child.type.name === "SidebarToggle"))
317
317
  return true;
@@ -321,7 +321,7 @@ var isIconElement = (child) => {
321
321
  var isSidebarToggleElement = (child) => {
322
322
  if (!(0, import_react5.isValidElement)(child)) return false;
323
323
  const componentType = child.type;
324
- if ((componentType == null ? void 0 : componentType.displayName) === "SidebarToggle") return true;
324
+ if ((componentType == null ? void 0 : componentType.displayName) === "Sidebar.Toggle") return true;
325
325
  if (typeof child.type === "function" && child.type.name === "SidebarToggle")
326
326
  return true;
327
327
  return false;
package/dist/index.mjs CHANGED
@@ -289,7 +289,7 @@ var findDirectSidebarItems = (node) => {
289
289
  var isIconElement = (child) => {
290
290
  if (!isValidElement(child)) return false;
291
291
  const componentType = child.type;
292
- if ((componentType == null ? void 0 : componentType.displayName) === "Icon" || (componentType == null ? void 0 : componentType.displayName) === "IconButton" || (componentType == null ? void 0 : componentType.displayName) === "SidebarToggle")
292
+ if ((componentType == null ? void 0 : componentType.displayName) === "Icon" || (componentType == null ? void 0 : componentType.displayName) === "IconButton" || (componentType == null ? void 0 : componentType.displayName) === "Sidebar.Toggle")
293
293
  return true;
294
294
  if (typeof child.type === "function" && (child.type.name === "Icon" || child.type.name === "IconButton" || child.type.name === "SidebarToggle"))
295
295
  return true;
@@ -299,7 +299,7 @@ var isIconElement = (child) => {
299
299
  var isSidebarToggleElement = (child) => {
300
300
  if (!isValidElement(child)) return false;
301
301
  const componentType = child.type;
302
- if ((componentType == null ? void 0 : componentType.displayName) === "SidebarToggle") return true;
302
+ if ((componentType == null ? void 0 : componentType.displayName) === "Sidebar.Toggle") return true;
303
303
  if (typeof child.type === "function" && child.type.name === "SidebarToggle")
304
304
  return true;
305
305
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dt-dds/react-sidebar",
3
- "version": "1.0.0-beta.1",
3
+ "version": "1.0.0-beta.11",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./dist/index.js"
@@ -20,12 +20,12 @@
20
20
  "test:update:snapshot": "jest -u"
21
21
  },
22
22
  "dependencies": {
23
- "@dt-dds/react-core": "1.0.0-beta.55",
24
- "@dt-dds/react-icon": "1.0.0-beta.58",
25
- "@dt-dds/themes": "1.0.0-beta.10",
26
- "@dt-dds/react-tooltip": "1.0.0-beta.64",
27
- "@dt-dds/react-typography": "1.0.0-beta.46",
28
- "@dt-dds/react-icon-button": "1.0.0-beta.24"
23
+ "@dt-dds/react-core": "1.0.0-beta.62",
24
+ "@dt-dds/react-icon": "1.0.0-beta.66",
25
+ "@dt-dds/themes": "1.0.0-beta.17",
26
+ "@dt-dds/react-tooltip": "1.0.0-beta.73",
27
+ "@dt-dds/react-typography": "1.0.0-beta.53",
28
+ "@dt-dds/react-icon-button": "1.0.0-beta.32"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@babel/core": "^7.22.9",
@@ -41,7 +41,7 @@
41
41
  "@types/react-dom": "^18.0.4",
42
42
  "babel-loader": "^8.3.0",
43
43
  "eslint-config-custom": "*",
44
- "eslint-plugin-storybook": "^0.6.12",
44
+ "eslint-plugin-storybook": "^9.1.0",
45
45
  "jest-config": "*",
46
46
  "react": "^18.1.0",
47
47
  "react-dom": "^18.2.0",
File without changes