@digital-b2c/coreui-kit 0.15.8 → 0.15.9

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/LICENSE.txt CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Luxottica
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Luxottica
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,52 +1,52 @@
1
- # CoreUI Kit
2
-
3
- A React‑based design system and component library.
4
-
5
- ## 🚀 Getting Started
6
-
7
- Install
8
-
9
- ```bash
10
- npm install
11
- ```
12
-
13
- Development
14
-
15
- - Run the build in watch mode
16
-
17
- ```bash
18
- npm run dev
19
- ```
20
-
21
- Start Storybook
22
-
23
- ```bash
24
- npm run storybook
25
- ```
26
-
27
- Run tests
28
-
29
- ```bash
30
- npm test
31
- ```
32
-
33
- Lint/format
34
-
35
- ```bash
36
- npm run lint
37
- ```
38
-
39
- ## 🛠️ Usage
40
-
41
- Import components in other projects:
42
-
43
- ```ts
44
- import '@digital-b2c/coreui-kit/styles.css'
45
-
46
- import { MiniSectionCta } from '@digital-b2c/coreui-kit'
47
-
48
- <MiniSectionCta>
49
- <MiniSectionCta.Title>Header</MiniSectionCta.Title>
50
- <MiniSectionCta.Subtitle>Description</MiniSectionCta.Subtitle>
51
- </MiniSectionCta>
52
- ```
1
+ # CoreUI Kit
2
+
3
+ A React‑based design system and component library.
4
+
5
+ ## 🚀 Getting Started
6
+
7
+ Install
8
+
9
+ ```bash
10
+ npm install
11
+ ```
12
+
13
+ Development
14
+
15
+ - Run the build in watch mode
16
+
17
+ ```bash
18
+ npm run dev
19
+ ```
20
+
21
+ Start Storybook
22
+
23
+ ```bash
24
+ npm run storybook
25
+ ```
26
+
27
+ Run tests
28
+
29
+ ```bash
30
+ npm test
31
+ ```
32
+
33
+ Lint/format
34
+
35
+ ```bash
36
+ npm run lint
37
+ ```
38
+
39
+ ## 🛠️ Usage
40
+
41
+ Import components in other projects:
42
+
43
+ ```ts
44
+ import '@digital-b2c/coreui-kit/styles.css'
45
+
46
+ import { MiniSectionCta } from '@digital-b2c/coreui-kit'
47
+
48
+ <MiniSectionCta>
49
+ <MiniSectionCta.Title>Header</MiniSectionCta.Title>
50
+ <MiniSectionCta.Subtitle>Description</MiniSectionCta.Subtitle>
51
+ </MiniSectionCta>
52
+ ```
package/dist/index.cjs CHANGED
@@ -3203,6 +3203,7 @@ var Navigation_module_default = {
3203
3203
  Navigation: "Navigation_module_Navigation",
3204
3204
  mainBar: "Navigation_module_mainBar",
3205
3205
  navTabLink: "Navigation_module_navTabLink",
3206
+ navTabTrigger: "Navigation_module_navTabTrigger",
3206
3207
  navTabActive: "Navigation_module_navTabActive",
3207
3208
  inner: "Navigation_module_inner",
3208
3209
  topRow: "Navigation_module_topRow",
@@ -3212,7 +3213,6 @@ var Navigation_module_default = {
3212
3213
  bottomRow: "Navigation_module_bottomRow",
3213
3214
  navTabs: "Navigation_module_navTabs",
3214
3215
  navTab: "Navigation_module_navTab",
3215
- navTabTrigger: "Navigation_module_navTabTrigger",
3216
3216
  navTabTriggerOpen: "Navigation_module_navTabTriggerOpen",
3217
3217
  dropdownPanel: "Navigation_module_dropdownPanel",
3218
3218
  dropdownInner: "Navigation_module_dropdownInner",
@@ -3325,8 +3325,7 @@ var NavigationDesktop = ({
3325
3325
  openIndex,
3326
3326
  onOpen,
3327
3327
  onScheduleClose,
3328
- baseId,
3329
- isTransparent = false
3328
+ baseId
3330
3329
  }) => {
3331
3330
  const pathname = useActivePath();
3332
3331
  if (!(navItems == null ? void 0 : navItems.length)) return null;
@@ -3389,14 +3388,7 @@ var NavigationDesktop = ({
3389
3388
  onKeyDown: (e) => handleTriggerKeyDown(e, index),
3390
3389
  children: [
3391
3390
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: item.title }),
3392
- /* @__PURE__ */ jsxRuntime.jsx(
3393
- Icon,
3394
- {
3395
- type: isTransparent ? "downChevronWhite" : "downChevronBlack",
3396
- size: 24,
3397
- "aria-hidden": "true"
3398
- }
3399
- )
3391
+ /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "downChevronBlack", size: 24, "aria-hidden": "true" })
3400
3392
  ]
3401
3393
  }
3402
3394
  ) }, index);
@@ -3906,8 +3898,7 @@ var Navigation2 = (props) => {
3906
3898
  openIndex,
3907
3899
  onOpen: openDropdown,
3908
3900
  onScheduleClose: scheduleClose,
3909
- baseId,
3910
- isTransparent
3901
+ baseId
3911
3902
  }
3912
3903
  ),
3913
3904
  !isExternal && /* @__PURE__ */ jsxRuntime.jsx(