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

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,129 @@
1
1
  # @dt-dds/react-sidebar
2
2
 
3
+ ## 1.0.0-beta.10
4
+
5
+ ### Patch Changes
6
+
7
+ - chore(theme): move tsx to dev dependencies
8
+ - Updated dependencies
9
+ - @dt-dds/themes@1.0.0-beta.16
10
+ - @dt-dds/react-core@1.0.0-beta.61
11
+ - @dt-dds/react-icon@1.0.0-beta.65
12
+ - @dt-dds/react-icon-button@1.0.0-beta.31
13
+ - @dt-dds/react-tooltip@1.0.0-beta.72
14
+ - @dt-dds/react-typography@1.0.0-beta.52
15
+
16
+ ## 1.0.0-beta.9
17
+
18
+ ### Patch Changes
19
+
20
+ - docs: fixed multiple typos in markdown files.
21
+ - Updated dependencies
22
+ - @dt-dds/react-tooltip@1.0.0-beta.71
23
+
24
+ ## 1.0.0-beta.8
25
+
26
+ ### Patch Changes
27
+
28
+ - chore: update to ESLint 10
29
+ - chore: update to ESLint 9
30
+ - fix: default icon type in themes
31
+ - Updated dependencies
32
+ - Updated dependencies
33
+ - Updated dependencies
34
+ - @dt-dds/react-core@1.0.0-beta.60
35
+ - @dt-dds/react-tooltip@1.0.0-beta.70
36
+ - @dt-dds/react-icon@1.0.0-beta.64
37
+ - @dt-dds/react-icon-button@1.0.0-beta.30
38
+ - @dt-dds/react-typography@1.0.0-beta.51
39
+ - @dt-dds/themes@1.0.0-beta.15
40
+
41
+ ## 1.0.0-beta.7
42
+
43
+ ### Patch Changes
44
+
45
+ - fix: add displayName to Icon and IconButton for production builds
46
+ - Updated dependencies
47
+ - @dt-dds/react-icon@1.0.0-beta.63
48
+ - @dt-dds/react-icon-button@1.0.0-beta.29
49
+
50
+ ## 1.0.0-beta.6
51
+
52
+ ### Minor Changes
53
+
54
+ - feat: change theme icons to sharp
55
+
56
+ ### Patch Changes
57
+
58
+ - Updated dependencies
59
+ - @dt-dds/react-icon@1.0.0-beta.62
60
+ - @dt-dds/react-icon-button@1.0.0-beta.28
61
+ - @dt-dds/themes@1.0.0-beta.14
62
+ - @dt-dds/react-core@1.0.0-beta.59
63
+ - @dt-dds/react-tooltip@1.0.0-beta.69
64
+ - @dt-dds/react-typography@1.0.0-beta.50
65
+
66
+ ## 1.0.0-beta.5
67
+
68
+ ### Patch Changes
69
+
70
+ - chore: standardise license file naming
71
+ - Updated dependencies
72
+ - @dt-dds/react-core@1.0.0-beta.58
73
+ - @dt-dds/react-icon@1.0.0-beta.61
74
+ - @dt-dds/react-icon-button@1.0.0-beta.27
75
+ - @dt-dds/react-tooltip@1.0.0-beta.68
76
+ - @dt-dds/react-typography@1.0.0-beta.49
77
+ - @dt-dds/themes@1.0.0-beta.13
78
+
79
+ ## 1.0.0-beta.4
80
+
81
+ ### Patch Changes
82
+
83
+ - refactor: remove custom icons
84
+ - Updated dependencies
85
+ - @dt-dds/react-tooltip@1.0.0-beta.67
86
+
87
+ ## 1.0.0-beta.3
88
+
89
+ ### Minor Changes
90
+
91
+ - feat: change Typo default color
92
+
93
+ ### Patch Changes
94
+
95
+ - fix: change color logic on typography
96
+ - Updated dependencies
97
+ - Updated dependencies
98
+ - @dt-dds/react-typography@1.0.0-beta.48
99
+ - @dt-dds/themes@1.0.0-beta.12
100
+ - @dt-dds/react-core@1.0.0-beta.57
101
+ - @dt-dds/react-icon@1.0.0-beta.60
102
+ - @dt-dds/react-icon-button@1.0.0-beta.26
103
+ - @dt-dds/react-tooltip@1.0.0-beta.66
104
+
105
+ ## 1.0.0-beta.2
106
+
107
+ ### Minor Changes
108
+
109
+ - feat: auto-generate themes from tokens
110
+
111
+ ### Patch Changes
112
+
113
+ - chore(themes): package.json clean-up
114
+ - test: update snapshots for token changes
115
+ - chore(tokens): update token files
116
+ - Updated dependencies
117
+ - Updated dependencies
118
+ - Updated dependencies
119
+ - Updated dependencies
120
+ - @dt-dds/themes@1.0.0-beta.11
121
+ - @dt-dds/react-core@1.0.0-beta.56
122
+ - @dt-dds/react-icon@1.0.0-beta.59
123
+ - @dt-dds/react-icon-button@1.0.0-beta.25
124
+ - @dt-dds/react-tooltip@1.0.0-beta.65
125
+ - @dt-dds/react-typography@1.0.0-beta.47
126
+
3
127
  ## 1.0.0-beta.1
4
128
 
5
129
  ### 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.10",
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.61",
24
+ "@dt-dds/react-icon": "1.0.0-beta.65",
25
+ "@dt-dds/themes": "1.0.0-beta.16",
26
+ "@dt-dds/react-tooltip": "1.0.0-beta.72",
27
+ "@dt-dds/react-typography": "1.0.0-beta.52",
28
+ "@dt-dds/react-icon-button": "1.0.0-beta.31"
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