@teamturing/react-kit 2.73.0 → 2.73.2

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/index.js CHANGED
@@ -2539,24 +2539,30 @@ const Breadcrumbs = ({
2539
2539
  onClick: () => setIsExpanded(true)
2540
2540
  }, 'collapse'), ...childrenArray.slice(1 + 1 + childrenArray.length - maxItemCount)];
2541
2541
  return /*#__PURE__*/jsxRuntime.jsx(BaseBreadcrumbs, {
2542
+ "aria-label": 'Breadcrumb',
2542
2543
  ...props,
2543
- children: React.Children.map(breadcrumbsItems, child => /*#__PURE__*/jsxRuntime.jsx(BreadcrumbsItemWrapper, {
2544
- role: 'listitem',
2545
- children: child
2546
- }))
2544
+ children: /*#__PURE__*/jsxRuntime.jsx(BreadcrumbsList, {
2545
+ children: React.Children.map(breadcrumbsItems, child => /*#__PURE__*/jsxRuntime.jsx(BreadcrumbsItemWrapper, {
2546
+ children: child
2547
+ }))
2548
+ })
2547
2549
  });
2548
2550
  };
2549
2551
  const BaseBreadcrumbs = /*#__PURE__*/styled__default.default.nav.withConfig({
2550
2552
  displayName: "Breadcrumbs__BaseBreadcrumbs",
2551
2553
  componentId: "sc-1lwv2x7-0"
2552
- })(["display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;column-gap:", ";row-gap:", ";"], ({
2554
+ })([""]);
2555
+ const BreadcrumbsList = /*#__PURE__*/styled__default.default.ol.withConfig({
2556
+ displayName: "Breadcrumbs__BreadcrumbsList",
2557
+ componentId: "sc-1lwv2x7-1"
2558
+ })(["display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;list-style:none;padding:0;margin:0;column-gap:", ";row-gap:", ";"], ({
2553
2559
  theme
2554
2560
  }) => utils.forcePixelValue(theme.space[2]), ({
2555
2561
  theme
2556
2562
  }) => utils.forcePixelValue(theme.space[1]));
2557
- const BreadcrumbsItemWrapper = /*#__PURE__*/styled__default.default.span.withConfig({
2563
+ const BreadcrumbsItemWrapper = /*#__PURE__*/styled__default.default.li.withConfig({
2558
2564
  displayName: "Breadcrumbs__BreadcrumbsItemWrapper",
2559
- componentId: "sc-1lwv2x7-1"
2565
+ componentId: "sc-1lwv2x7-2"
2560
2566
  })(["display:inline-flex;&::after{content:'/';font-size:", ";font-weight:", ";line-height:", ";color:", ";margin-left:", ";}&:last-child{&::after{content:none;}}"], ({
2561
2567
  theme
2562
2568
  }) => utils.forcePixelValue(theme.fontSizes.xxs), ({
@@ -6865,7 +6871,7 @@ const BasePagination = /*#__PURE__*/styled__default.default.nav.withConfig({
6865
6871
  const PaginationPage = /*#__PURE__*/styled__default.default(UnstyledButton).withConfig({
6866
6872
  displayName: "Pagination__PaginationPage",
6867
6873
  componentId: "sc-1fu43y9-1"
6868
- })(["transition:background-color 100ms;height:", ";min-width:", ";border-radius:", ";padding:", ";background-color:", ";font-size:", ";font-weight:", ";line-height:", ";color:", ";", ""], utils.forcePixelValue(32), utils.forcePixelValue(32), ({
6874
+ })(["transition:background-color 100ms;display:inline-flex;align-items:center;justify-content:center;height:", ";min-width:", ";border-radius:", ";padding:", ";background-color:", ";font-size:", ";font-weight:", ";line-height:", ";color:", ";", ""], utils.forcePixelValue(32), utils.forcePixelValue(32), ({
6869
6875
  theme
6870
6876
  }) => utils.forcePixelValue(theme.radii.xs), ({
6871
6877
  theme
@@ -17,24 +17,30 @@ const Breadcrumbs = ({
17
17
  onClick: () => setIsExpanded(true)
18
18
  }, 'collapse'), ...childrenArray.slice(1 + 1 + childrenArray.length - maxItemCount)];
19
19
  return /*#__PURE__*/jsx(BaseBreadcrumbs, {
20
+ "aria-label": 'Breadcrumb',
20
21
  ...props,
21
- children: Children.map(breadcrumbsItems, child => /*#__PURE__*/jsx(BreadcrumbsItemWrapper, {
22
- role: 'listitem',
23
- children: child
24
- }))
22
+ children: /*#__PURE__*/jsx(BreadcrumbsList, {
23
+ children: Children.map(breadcrumbsItems, child => /*#__PURE__*/jsx(BreadcrumbsItemWrapper, {
24
+ children: child
25
+ }))
26
+ })
25
27
  });
26
28
  };
27
29
  const BaseBreadcrumbs = /*#__PURE__*/styled.nav.withConfig({
28
30
  displayName: "Breadcrumbs__BaseBreadcrumbs",
29
31
  componentId: "sc-1lwv2x7-0"
30
- })(["display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;column-gap:", ";row-gap:", ";"], ({
32
+ })([""]);
33
+ const BreadcrumbsList = /*#__PURE__*/styled.ol.withConfig({
34
+ displayName: "Breadcrumbs__BreadcrumbsList",
35
+ componentId: "sc-1lwv2x7-1"
36
+ })(["display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;list-style:none;padding:0;margin:0;column-gap:", ";row-gap:", ";"], ({
31
37
  theme
32
38
  }) => forcePixelValue(theme.space[2]), ({
33
39
  theme
34
40
  }) => forcePixelValue(theme.space[1]));
35
- const BreadcrumbsItemWrapper = /*#__PURE__*/styled.span.withConfig({
41
+ const BreadcrumbsItemWrapper = /*#__PURE__*/styled.li.withConfig({
36
42
  displayName: "Breadcrumbs__BreadcrumbsItemWrapper",
37
- componentId: "sc-1lwv2x7-1"
43
+ componentId: "sc-1lwv2x7-2"
38
44
  })(["display:inline-flex;&::after{content:'/';font-size:", ";font-weight:", ";line-height:", ";color:", ";margin-left:", ";}&:last-child{&::after{content:none;}}"], ({
39
45
  theme
40
46
  }) => forcePixelValue(theme.fontSizes.xxs), ({
@@ -132,7 +132,7 @@ const BasePagination = /*#__PURE__*/styled.nav.withConfig({
132
132
  const PaginationPage = /*#__PURE__*/styled(UnstyledButton).withConfig({
133
133
  displayName: "Pagination__PaginationPage",
134
134
  componentId: "sc-1fu43y9-1"
135
- })(["transition:background-color 100ms;height:", ";min-width:", ";border-radius:", ";padding:", ";background-color:", ";font-size:", ";font-weight:", ";line-height:", ";color:", ";", ""], forcePixelValue(32), forcePixelValue(32), ({
135
+ })(["transition:background-color 100ms;display:inline-flex;align-items:center;justify-content:center;height:", ";min-width:", ";border-radius:", ";padding:", ";background-color:", ";font-size:", ";font-weight:", ";line-height:", ";color:", ";", ""], forcePixelValue(32), forcePixelValue(32), ({
136
136
  theme
137
137
  }) => forcePixelValue(theme.radii.xs), ({
138
138
  theme
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamturing/react-kit",
3
- "version": "2.73.0",
3
+ "version": "2.73.2",
4
4
  "description": "React components, hooks for create teamturing web application",
5
5
  "author": "Sungchang Park <psch300@gmail.com> (https://github.com/psch300)",
6
6
  "homepage": "https://github.com/weareteamturing/bombe#readme",
@@ -55,7 +55,7 @@
55
55
  "dependencies": {
56
56
  "@floating-ui/react": "^0.27.16",
57
57
  "@primer/behaviors": "^1.3.6",
58
- "@teamturing/icons": "^1.75.0",
58
+ "@teamturing/icons": "^1.76.0",
59
59
  "@teamturing/token-studio": "^1.17.0",
60
60
  "@teamturing/utils": "^1.6.1",
61
61
  "framer-motion": "^10.16.4",
@@ -65,5 +65,5 @@
65
65
  "react-textarea-autosize": "^8.5.3",
66
66
  "styled-system": "^5.1.5"
67
67
  },
68
- "gitHead": "b803956a45b587b87b805a0eff212037d35d29fa"
68
+ "gitHead": "427018a5d3c29ef27324f0b125a0175346b0e764"
69
69
  }