@primer/react 0.0.0-20260313173502 → 0.0.0-20260313175735
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 +2 -20
- package/dist/ActionBar/ActionBar-94abaa40.css +2 -0
- package/dist/ActionBar/ActionBar-94abaa40.css.map +1 -0
- package/dist/ActionBar/ActionBar.d.ts +1 -1
- package/dist/ActionBar/ActionBar.d.ts.map +1 -1
- package/dist/ActionBar/ActionBar.js +257 -362
- package/dist/ActionBar/ActionBar.module.css.js +2 -2
- package/dist/ActionBar/index.d.ts +1 -1
- package/dist/ActionList/Item.d.ts.map +1 -1
- package/dist/ActionList/Item.js +192 -628
- package/dist/ActionList/LinkItem.d.ts +3 -6
- package/dist/ActionList/LinkItem.d.ts.map +1 -1
- package/dist/ActionList/LinkItem.js +87 -42
- package/dist/ActionList/List.d.ts.map +1 -1
- package/dist/ActionList/List.js +5 -6
- package/dist/ActionList/index.d.ts +1 -25
- package/dist/ActionList/index.d.ts.map +1 -1
- package/dist/Banner/{Banner-41040ab7.css → Banner-b3871000.css} +2 -2
- package/dist/Banner/{Banner-41040ab7.css.map → Banner-b3871000.css.map} +1 -1
- package/dist/Banner/Banner.d.ts.map +1 -1
- package/dist/Banner/Banner.js +0 -1
- package/dist/Banner/Banner.module.css.js +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.d.ts +8 -23
- package/dist/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.js +66 -27
- package/dist/Button/{ButtonBase-6659abcf.css → ButtonBase-781fba8b.css} +2 -2
- package/dist/Button/{ButtonBase-6659abcf.css.map → ButtonBase-781fba8b.css.map} +1 -1
- package/dist/Button/ButtonBase.module.css.js +1 -1
- package/dist/Dialog/{Dialog-2de477b3.css → Dialog-2d417a89.css} +2 -2
- package/dist/Dialog/{Dialog-2de477b3.css.map → Dialog-2d417a89.css.map} +1 -1
- package/dist/Dialog/Dialog.d.ts.map +1 -1
- package/dist/Dialog/Dialog.js +1 -3
- package/dist/Dialog/Dialog.module.css.js +2 -2
- package/dist/NavList/NavList.d.ts +3 -20
- package/dist/NavList/NavList.d.ts.map +1 -1
- package/dist/NavList/NavList.js +124 -50
- package/dist/Overlay/{Overlay-dbaa6b8c.css → Overlay-15519c09.css} +2 -2
- package/dist/Overlay/Overlay-15519c09.css.map +1 -0
- package/dist/Overlay/Overlay.module.css.js +1 -1
- package/dist/PageLayout/PageLayout.d.ts +20 -4
- package/dist/PageLayout/PageLayout.d.ts.map +1 -1
- package/dist/PageLayout/PageLayout.js +0 -12
- package/dist/SelectPanel/SelectPanel.d.ts.map +1 -1
- package/dist/SelectPanel/SelectPanel.js +29 -30
- package/dist/TextInput/TextInput.d.ts.map +1 -1
- package/dist/TextInput/TextInput.js +5 -31
- package/dist/TreeView/TreeView.d.ts.map +1 -1
- package/dist/TreeView/TreeView.js +59 -101
- package/dist/utils/character-counter.d.ts.map +1 -1
- package/dist/utils/character-counter.js +0 -1
- package/package.json +1 -1
- package/dist/ActionBar/ActionBar-a41224b2.css +0 -2
- package/dist/ActionBar/ActionBar-a41224b2.css.map +0 -1
- package/dist/Overlay/Overlay-dbaa6b8c.css.map +0 -1
package/dist/NavList/NavList.js
CHANGED
|
@@ -11,7 +11,6 @@ import classes from '../ActionList/ActionList.module.css.js';
|
|
|
11
11
|
import navListClasses from './NavList.module.css.js';
|
|
12
12
|
import { flushSync } from 'react-dom';
|
|
13
13
|
import { isSlot } from '../utils/is-slot.js';
|
|
14
|
-
import { fixedForwardRef } from '../utils/modern-polymorphic.js';
|
|
15
14
|
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
16
15
|
|
|
17
16
|
const Root = /*#__PURE__*/React.forwardRef((t0, ref) => {
|
|
@@ -73,59 +72,128 @@ Root.displayName = 'NavList';
|
|
|
73
72
|
// ----------------------------------------------------------------------------
|
|
74
73
|
// NavList.Item
|
|
75
74
|
|
|
76
|
-
const
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
75
|
+
const Item = /*#__PURE__*/React.forwardRef((t0, ref) => {
|
|
76
|
+
const $ = c(29);
|
|
77
|
+
let ariaCurrent;
|
|
78
|
+
let children;
|
|
79
|
+
let defaultOpen;
|
|
80
|
+
let props;
|
|
81
|
+
if ($[0] !== t0) {
|
|
82
|
+
({
|
|
83
|
+
"aria-current": ariaCurrent,
|
|
84
|
+
children,
|
|
85
|
+
defaultOpen,
|
|
86
|
+
...props
|
|
87
|
+
} = t0);
|
|
88
|
+
$[0] = t0;
|
|
89
|
+
$[1] = ariaCurrent;
|
|
90
|
+
$[2] = children;
|
|
91
|
+
$[3] = defaultOpen;
|
|
92
|
+
$[4] = props;
|
|
93
|
+
} else {
|
|
94
|
+
ariaCurrent = $[1];
|
|
95
|
+
children = $[2];
|
|
96
|
+
defaultOpen = $[3];
|
|
97
|
+
props = $[4];
|
|
98
|
+
}
|
|
83
99
|
const {
|
|
84
100
|
depth
|
|
85
101
|
} = React.useContext(SubNavContext);
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
102
|
+
let childrenWithoutSubNavOrTrailingAction;
|
|
103
|
+
let subNav;
|
|
104
|
+
let t1;
|
|
105
|
+
if ($[5] !== children || $[6] !== defaultOpen) {
|
|
106
|
+
subNav = React.Children.toArray(children).find(_temp);
|
|
107
|
+
let t2;
|
|
108
|
+
if ($[10] !== children) {
|
|
109
|
+
t2 = React.Children.toArray(children).filter(_temp2);
|
|
110
|
+
$[10] = children;
|
|
111
|
+
$[11] = t2;
|
|
112
|
+
} else {
|
|
113
|
+
t2 = $[11];
|
|
114
|
+
}
|
|
115
|
+
childrenWithoutSubNavOrTrailingAction = t2;
|
|
116
|
+
if (! /*#__PURE__*/isValidElement(subNav) && defaultOpen) {
|
|
117
|
+
console.error("NavList.Item must have a NavList.SubNav to use defaultOpen.");
|
|
118
|
+
}
|
|
119
|
+
t1 = subNav && /*#__PURE__*/isValidElement(subNav);
|
|
120
|
+
$[5] = children;
|
|
121
|
+
$[6] = defaultOpen;
|
|
122
|
+
$[7] = childrenWithoutSubNavOrTrailingAction;
|
|
123
|
+
$[8] = subNav;
|
|
124
|
+
$[9] = t1;
|
|
125
|
+
} else {
|
|
126
|
+
childrenWithoutSubNavOrTrailingAction = $[7];
|
|
127
|
+
subNav = $[8];
|
|
128
|
+
t1 = $[9];
|
|
129
|
+
}
|
|
130
|
+
if (t1) {
|
|
131
|
+
let t2;
|
|
132
|
+
if ($[12] !== depth) {
|
|
133
|
+
t2 = {
|
|
134
|
+
"--subitem-depth": depth
|
|
135
|
+
};
|
|
136
|
+
$[12] = depth;
|
|
137
|
+
$[13] = t2;
|
|
138
|
+
} else {
|
|
139
|
+
t2 = $[13];
|
|
140
|
+
}
|
|
141
|
+
const t3 = t2;
|
|
142
|
+
let t4;
|
|
143
|
+
if ($[14] !== childrenWithoutSubNavOrTrailingAction || $[15] !== defaultOpen || $[16] !== depth || $[17] !== subNav || $[18] !== t3) {
|
|
144
|
+
t4 = /*#__PURE__*/jsx(ItemWithSubNav, {
|
|
145
|
+
subNav: subNav,
|
|
146
|
+
depth: depth,
|
|
147
|
+
defaultOpen: defaultOpen,
|
|
148
|
+
style: t3,
|
|
149
|
+
children: childrenWithoutSubNavOrTrailingAction
|
|
150
|
+
});
|
|
151
|
+
$[14] = childrenWithoutSubNavOrTrailingAction;
|
|
152
|
+
$[15] = defaultOpen;
|
|
153
|
+
$[16] = depth;
|
|
154
|
+
$[17] = subNav;
|
|
155
|
+
$[18] = t3;
|
|
156
|
+
$[19] = t4;
|
|
157
|
+
} else {
|
|
158
|
+
t4 = $[19];
|
|
159
|
+
}
|
|
160
|
+
return t4;
|
|
161
|
+
}
|
|
162
|
+
const t2 = Boolean(ariaCurrent) && ariaCurrent !== "false";
|
|
163
|
+
let t3;
|
|
164
|
+
if ($[20] !== depth) {
|
|
165
|
+
t3 = {
|
|
166
|
+
"--subitem-depth": depth
|
|
167
|
+
};
|
|
168
|
+
$[20] = depth;
|
|
169
|
+
$[21] = t3;
|
|
170
|
+
} else {
|
|
171
|
+
t3 = $[21];
|
|
172
|
+
}
|
|
173
|
+
const t4 = t3;
|
|
174
|
+
let t5;
|
|
175
|
+
if ($[22] !== ariaCurrent || $[23] !== children || $[24] !== props || $[25] !== ref || $[26] !== t2 || $[27] !== t4) {
|
|
176
|
+
t5 = /*#__PURE__*/jsx(ActionList.LinkItem, {
|
|
177
|
+
ref: ref,
|
|
178
|
+
"aria-current": ariaCurrent,
|
|
179
|
+
active: t2,
|
|
180
|
+
style: t4,
|
|
181
|
+
...props,
|
|
182
|
+
children: children
|
|
106
183
|
});
|
|
184
|
+
$[22] = ariaCurrent;
|
|
185
|
+
$[23] = children;
|
|
186
|
+
$[24] = props;
|
|
187
|
+
$[25] = ref;
|
|
188
|
+
$[26] = t2;
|
|
189
|
+
$[27] = t4;
|
|
190
|
+
$[28] = t5;
|
|
191
|
+
} else {
|
|
192
|
+
t5 = $[28];
|
|
107
193
|
}
|
|
108
|
-
|
|
109
|
-
// Type safety for the polymorphic `as` prop is enforced at the
|
|
110
|
-
// Item boundary via fixedForwardRef. Internally we widen
|
|
111
|
-
// LinkItem's type so TypeScript doesn't re-check the generic
|
|
112
|
-
// constraint across two polymorphic layers.
|
|
113
|
-
const InternalLinkItem = ActionList.LinkItem;
|
|
114
|
-
return /*#__PURE__*/jsx(InternalLinkItem, {
|
|
115
|
-
ref: ref,
|
|
116
|
-
as: Component,
|
|
117
|
-
"aria-current": ariaCurrent,
|
|
118
|
-
active: Boolean(ariaCurrent) && ariaCurrent !== 'false',
|
|
119
|
-
style: {
|
|
120
|
-
'--subitem-depth': depth
|
|
121
|
-
},
|
|
122
|
-
...props,
|
|
123
|
-
children: children
|
|
124
|
-
});
|
|
125
|
-
});
|
|
126
|
-
const Item = Object.assign(ItemComponent, {
|
|
127
|
-
displayName: 'NavList.Item'
|
|
194
|
+
return t5;
|
|
128
195
|
});
|
|
196
|
+
Item.displayName = 'NavList.Item';
|
|
129
197
|
|
|
130
198
|
// ----------------------------------------------------------------------------
|
|
131
199
|
// ItemWithSubNav (internal)
|
|
@@ -191,7 +259,7 @@ function ItemWithSubNav(t0) {
|
|
|
191
259
|
const t4 = !isOpen && containsCurrentItem;
|
|
192
260
|
let t5;
|
|
193
261
|
if ($[8] === Symbol.for("react.memo_cache_sentinel")) {
|
|
194
|
-
t5 = () => setIsOpen(
|
|
262
|
+
t5 = () => setIsOpen(_temp3);
|
|
195
263
|
$[8] = t5;
|
|
196
264
|
} else {
|
|
197
265
|
t5 = $[8];
|
|
@@ -273,7 +341,7 @@ function ItemWithSubNav(t0) {
|
|
|
273
341
|
|
|
274
342
|
// ----------------------------------------------------------------------------
|
|
275
343
|
// NavList.SubNav
|
|
276
|
-
function
|
|
344
|
+
function _temp3(open) {
|
|
277
345
|
return !open;
|
|
278
346
|
}
|
|
279
347
|
const SubNavContext = /*#__PURE__*/React.createContext({
|
|
@@ -628,5 +696,11 @@ const NavList = Object.assign(Root, {
|
|
|
628
696
|
GroupExpand,
|
|
629
697
|
GroupHeading
|
|
630
698
|
});
|
|
699
|
+
function _temp(child) {
|
|
700
|
+
return /*#__PURE__*/isValidElement(child) && (child.type === SubNav || isSlot(child, SubNav));
|
|
701
|
+
}
|
|
702
|
+
function _temp2(child_0) {
|
|
703
|
+
return /*#__PURE__*/isValidElement(child_0) ? child_0.type !== SubNav && child_0.type !== TrailingAction && !isSlot(child_0, SubNav) && !isSlot(child_0, TrailingAction) : true;
|
|
704
|
+
}
|
|
631
705
|
|
|
632
706
|
export { GroupExpand, NavList };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@keyframes prc-Overlay-overlay-appear-JpFey{0%{opacity:0}to{opacity:1}}.prc-Overlay-Overlay-jfs-T{background-color:var(--overlay-bgColor,var(--color-canvas-overlay));border-radius:var(--borderRadius-large,.75rem);bottom:var(--bottom,auto);box-shadow:var(--shadow-floating-small,var(--color-overlay-shadow));height:auto;left:var(--left,auto);max-height:100vh;max-width:calc(100vw - 2rem);min-width:192px;overflow:auto;position:absolute;right:var(--right,auto);top:var(--top,auto);width:auto}.prc-Overlay-Overlay-jfs-T:focus{outline:none}@media (forced-colors:active){.prc-Overlay-Overlay-jfs-T{outline:1px solid transparent}}.prc-Overlay-Overlay-jfs-T:where([data-reflow-container=true]){max-width:calc(100vw - 2rem)}.prc-Overlay-Overlay-jfs-T:where([data-overflow-auto]){overflow:auto}.prc-Overlay-Overlay-jfs-T:where([data-overflow-hidden]){overflow:hidden}.prc-Overlay-Overlay-jfs-T:where([data-overflow-scroll]){overflow:scroll}.prc-Overlay-Overlay-jfs-T:where([data-overflow-visible]){overflow:visible}.prc-Overlay-Overlay-jfs-T:where([data-height-xsmall]){height:192px}.prc-Overlay-Overlay-jfs-T:where([data-height-small]){height:256px}.prc-Overlay-Overlay-jfs-T:where([data-height-medium]){height:320px}.prc-Overlay-Overlay-jfs-T:where([data-height-large]){height:432px}.prc-Overlay-Overlay-jfs-T:where([data-height-xlarge]){height:600px}.prc-Overlay-Overlay-jfs-T:where([data-height-auto]),.prc-Overlay-Overlay-jfs-T:where([data-height-initial]){height:auto}.prc-Overlay-Overlay-jfs-T:where([data-height-fit-content]){height:-moz-fit-content;height:fit-content}.prc-Overlay-Overlay-jfs-T:where([data-max-height-xsmall]){max-height:192px}.prc-Overlay-Overlay-jfs-T:where([data-max-height-small]){max-height:256px}.prc-Overlay-Overlay-jfs-T:where([data-max-height-medium]){max-height:320px}.prc-Overlay-Overlay-jfs-T:where([data-max-height-large]){max-height:432px}.prc-Overlay-Overlay-jfs-T:where([data-max-height-xlarge]){max-height:600px}.prc-Overlay-Overlay-jfs-T:where([data-max-height-fit-content]){max-height:-moz-fit-content;max-height:fit-content}.prc-Overlay-Overlay-jfs-T:where([data-width-small]){width:256px}.prc-Overlay-Overlay-jfs-T:where([data-width-medium]){width:320px}.prc-Overlay-Overlay-jfs-T:where([data-width-large]){width:480px}.prc-Overlay-Overlay-jfs-T:where([data-width-xlarge]){width:640px}.prc-Overlay-Overlay-jfs-T:where([data-width-xxlarge]){width:960px}.prc-Overlay-Overlay-jfs-T:where([data-width-auto]){width:auto}.prc-Overlay-Overlay-jfs-T:where([data-max-width-small]){max-width:256px}.prc-Overlay-Overlay-jfs-T:where([data-max-width-medium]){max-width:320px}.prc-Overlay-Overlay-jfs-T:where([data-max-width-large]){max-width:480px}.prc-Overlay-Overlay-jfs-T:where([data-max-width-xlarge]){max-width:640px}.prc-Overlay-Overlay-jfs-T:where([data-max-width-xxlarge]){max-width:960px}.prc-Overlay-Overlay-jfs-T:where([data-visibility-visible]){visibility:visible}.prc-Overlay-Overlay-jfs-T:where([data-visibility-hidden]){visibility:hidden}@media screen and (max-width:calc(48rem - 0.02px)){.prc-Overlay-Overlay-jfs-T:where([data-responsive=fullscreen]){border-radius:unset;height:100vh;left:0;margin:0;max-height:none;max-width:none;
|
|
2
|
-
/*# sourceMappingURL=Overlay-
|
|
1
|
+
@keyframes prc-Overlay-overlay-appear-JpFey{0%{opacity:0}to{opacity:1}}.prc-Overlay-Overlay-jfs-T{background-color:var(--overlay-bgColor,var(--color-canvas-overlay));border-radius:var(--borderRadius-large,.75rem);bottom:var(--bottom,auto);box-shadow:var(--shadow-floating-small,var(--color-overlay-shadow));height:auto;left:var(--left,auto);max-height:100vh;max-width:calc(100vw - 2rem);min-width:192px;overflow:auto;position:absolute;right:var(--right,auto);top:var(--top,auto);width:auto}.prc-Overlay-Overlay-jfs-T:focus{outline:none}@media (forced-colors:active){.prc-Overlay-Overlay-jfs-T{outline:1px solid transparent}}.prc-Overlay-Overlay-jfs-T:where([data-reflow-container=true]){max-width:calc(100vw - 2rem)}.prc-Overlay-Overlay-jfs-T:where([data-overflow-auto]){overflow:auto}.prc-Overlay-Overlay-jfs-T:where([data-overflow-hidden]){overflow:hidden}.prc-Overlay-Overlay-jfs-T:where([data-overflow-scroll]){overflow:scroll}.prc-Overlay-Overlay-jfs-T:where([data-overflow-visible]){overflow:visible}.prc-Overlay-Overlay-jfs-T:where([data-height-xsmall]){height:192px}.prc-Overlay-Overlay-jfs-T:where([data-height-small]){height:256px}.prc-Overlay-Overlay-jfs-T:where([data-height-medium]){height:320px}.prc-Overlay-Overlay-jfs-T:where([data-height-large]){height:432px}.prc-Overlay-Overlay-jfs-T:where([data-height-xlarge]){height:600px}.prc-Overlay-Overlay-jfs-T:where([data-height-auto]),.prc-Overlay-Overlay-jfs-T:where([data-height-initial]){height:auto}.prc-Overlay-Overlay-jfs-T:where([data-height-fit-content]){height:-moz-fit-content;height:fit-content}.prc-Overlay-Overlay-jfs-T:where([data-max-height-xsmall]){max-height:192px}.prc-Overlay-Overlay-jfs-T:where([data-max-height-small]){max-height:256px}.prc-Overlay-Overlay-jfs-T:where([data-max-height-medium]){max-height:320px}.prc-Overlay-Overlay-jfs-T:where([data-max-height-large]){max-height:432px}.prc-Overlay-Overlay-jfs-T:where([data-max-height-xlarge]){max-height:600px}.prc-Overlay-Overlay-jfs-T:where([data-max-height-fit-content]){max-height:-moz-fit-content;max-height:fit-content}.prc-Overlay-Overlay-jfs-T:where([data-width-small]){width:256px}.prc-Overlay-Overlay-jfs-T:where([data-width-medium]){width:320px}.prc-Overlay-Overlay-jfs-T:where([data-width-large]){width:480px}.prc-Overlay-Overlay-jfs-T:where([data-width-xlarge]){width:640px}.prc-Overlay-Overlay-jfs-T:where([data-width-xxlarge]){width:960px}.prc-Overlay-Overlay-jfs-T:where([data-width-auto]){width:auto}.prc-Overlay-Overlay-jfs-T:where([data-max-width-small]){max-width:256px}.prc-Overlay-Overlay-jfs-T:where([data-max-width-medium]){max-width:320px}.prc-Overlay-Overlay-jfs-T:where([data-max-width-large]){max-width:480px}.prc-Overlay-Overlay-jfs-T:where([data-max-width-xlarge]){max-width:640px}.prc-Overlay-Overlay-jfs-T:where([data-max-width-xxlarge]){max-width:960px}.prc-Overlay-Overlay-jfs-T:where([data-visibility-visible]){visibility:visible}.prc-Overlay-Overlay-jfs-T:where([data-visibility-hidden]){visibility:hidden}@media screen and (max-width:calc(48rem - 0.02px)){.prc-Overlay-Overlay-jfs-T:where([data-responsive=fullscreen]){border-radius:unset;height:100vh;left:0;margin:0;max-height:none;max-width:none;position:fixed;top:0;width:100vw}}@supports (height:100dvh){.prc-Overlay-Overlay-jfs-T:where([data-variant=fullscreen]){height:100dvh}}@media (prefers-reduced-motion:no-preference){.prc-Overlay-Overlay-jfs-T{animation:prc-Overlay-overlay-appear-JpFey .2s cubic-bezier(.33,1,.68,1)}}
|
|
2
|
+
/*# sourceMappingURL=Overlay-15519c09.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/Overlay/Overlay.module.css.js"],"names":[],"mappings":"AAAA,4CACE,GACE,SACF,CAEA,GACE,SACF,CACF,CAEA,2BAQE,mEAAwC,CACxC,8CAAwC,CASxC,yBAA2B,CAR3B,mEAAwC,CALxC,WAAY,CASZ,qBAAuB,CARvB,gBAAiB,CAJjB,4BAA6B,CAE7B,eAAgB,CAGhB,aAAc,CANd,iBAAkB,CAelB,uBAAyB,CAJzB,mBAAqB,CATrB,UA8KF,CA7JE,iCACE,YACF,CAEA,8BAxBF,2BA0BI,6BAuJJ,CAtJE,CAEA,+DACE,4BACF,CAEA,uDACE,aACF,CAEA,yDACE,eACF,CAEA,yDACE,eACF,CAEA,0DACE,gBACF,CAEA,uDACE,YACF,CAEA,sDACE,YACF,CAEA,uDACE,YACF,CAEA,sDACE,YACF,CAEA,uDACE,YACF,CAEA,6GAEE,WACF,CAEA,4DACE,uBAAmB,CAAnB,kBACF,CAEA,2DACE,gBACF,CAEA,0DACE,gBACF,CAEA,2DACE,gBACF,CAEA,0DACE,gBACF,CAEA,2DACE,gBACF,CAEA,gEACE,2BAAuB,CAAvB,sBACF,CAEA,qDACE,WACF,CAEA,sDACE,WACF,CAEA,qDAEE,WACF,CAEA,sDAEE,WACF,CAEA,uDAEE,WACF,CAEA,oDACE,UACF,CAEA,yDACE,eACF,CAEA,0DACE,eACF,CAEA,yDACE,eACF,CAEA,0DACE,eACF,CAEA,2DACE,eACF,CAEA,4DACE,kBACF,CAEA,2DACE,iBACF,CAGE,mDADF,+DAUI,mBAAoB,CAHpB,YAAa,CAHb,MAAO,CAKP,QAAS,CADT,eAAgB,CAFhB,cAAe,CAJf,cAAe,CACf,KAAM,CAEN,WAOJ,CADE,CAGF,0BAEE,4DACE,aACF,CACF,CAGF,8CACE,2BACE,wEACF,CACF","file":"Overlay-15519c09.css","sourcesContent":["@keyframes overlay-appear {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n.Overlay {\n position: absolute;\n max-width: calc(100vw - 2rem);\n width: auto;\n min-width: 192px;\n height: auto;\n max-height: 100vh;\n overflow: auto;\n background-color: var(--overlay-bgColor);\n border-radius: var(--borderRadius-large);\n box-shadow: var(--shadow-floating-small);\n /* stylelint-disable-next-line primer/spacing */\n top: var(--top, auto);\n /* stylelint-disable-next-line primer/spacing */\n left: var(--left, auto);\n /* stylelint-disable-next-line primer/spacing */\n right: var(--right, auto);\n /* stylelint-disable-next-line primer/spacing */\n bottom: var(--bottom, auto);\n\n &:focus {\n outline: none;\n }\n\n @media (forced-colors: active) {\n /* Support for Windows high contrast https://sarahmhigley.com/writing/whcm-quick-tips */\n outline: solid 1px transparent;\n }\n\n &:where([data-reflow-container='true']) {\n max-width: calc(100vw - 2rem);\n }\n\n &:where([data-overflow-auto]) {\n overflow: auto;\n }\n\n &:where([data-overflow-hidden]) {\n overflow: hidden;\n }\n\n &:where([data-overflow-scroll]) {\n overflow: scroll;\n }\n\n &:where([data-overflow-visible]) {\n overflow: visible;\n }\n\n &:where([data-height-xsmall]) {\n height: 192px;\n }\n\n &:where([data-height-small]) {\n height: 256px;\n }\n\n &:where([data-height-medium]) {\n height: 320px;\n }\n\n &:where([data-height-large]) {\n height: 432px;\n }\n\n &:where([data-height-xlarge]) {\n height: 600px;\n }\n\n &:where([data-height-auto]),\n &:where([data-height-initial]) {\n height: auto;\n }\n\n &:where([data-height-fit-content]) {\n height: fit-content;\n }\n\n &:where([data-max-height-xsmall]) {\n max-height: 192px;\n }\n\n &:where([data-max-height-small]) {\n max-height: 256px;\n }\n\n &:where([data-max-height-medium]) {\n max-height: 320px;\n }\n\n &:where([data-max-height-large]) {\n max-height: 432px;\n }\n\n &:where([data-max-height-xlarge]) {\n max-height: 600px;\n }\n\n &:where([data-max-height-fit-content]) {\n max-height: fit-content;\n }\n\n &:where([data-width-small]) {\n width: 256px;\n }\n\n &:where([data-width-medium]) {\n width: 320px;\n }\n\n &:where([data-width-large]) {\n /* stylelint-disable-next-line primer/responsive-widths */\n width: 480px;\n }\n\n &:where([data-width-xlarge]) {\n /* stylelint-disable-next-line primer/responsive-widths */\n width: 640px;\n }\n\n &:where([data-width-xxlarge]) {\n /* stylelint-disable-next-line primer/responsive-widths */\n width: 960px;\n }\n\n &:where([data-width-auto]) {\n width: auto;\n }\n\n &:where([data-max-width-small]) {\n max-width: 256px;\n }\n\n &:where([data-max-width-medium]) {\n max-width: 320px;\n }\n\n &:where([data-max-width-large]) {\n max-width: 480px;\n }\n\n &:where([data-max-width-xlarge]) {\n max-width: 640px;\n }\n\n &:where([data-max-width-xxlarge]) {\n max-width: 960px;\n }\n\n &:where([data-visibility-visible]) {\n visibility: visible;\n }\n\n &:where([data-visibility-hidden]) {\n visibility: hidden;\n }\n\n &:where([data-responsive='fullscreen']) {\n @media screen and (--viewportRange-narrow) {\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n max-width: none;\n height: 100vh;\n max-height: none;\n margin: 0;\n border-radius: unset;\n }\n }\n\n @supports (height: 100dvh) {\n /* fix for mobile safari (100vh clips the screen with the toolbar) */\n &:where([data-variant='fullscreen']) {\n height: 100dvh;\n }\n }\n}\n\n@media (prefers-reduced-motion: no-preference) {\n .Overlay {\n animation: overlay-appear 200ms cubic-bezier(0.33, 1, 0.68, 1);\n }\n}\n"]}
|
|
@@ -9,7 +9,7 @@ declare const SPACING_MAP: {
|
|
|
9
9
|
};
|
|
10
10
|
export type PageLayoutProps = {
|
|
11
11
|
/** The maximum width of the page container */
|
|
12
|
-
containerWidth?:
|
|
12
|
+
containerWidth?: keyof typeof containerWidths;
|
|
13
13
|
/** The spacing between the outer edges of the page container and the viewport */
|
|
14
14
|
padding?: keyof typeof SPACING_MAP;
|
|
15
15
|
rowGap?: keyof typeof SPACING_MAP;
|
|
@@ -19,6 +19,12 @@ export type PageLayoutProps = {
|
|
|
19
19
|
className?: string;
|
|
20
20
|
style?: React.CSSProperties;
|
|
21
21
|
};
|
|
22
|
+
declare const containerWidths: {
|
|
23
|
+
full: string;
|
|
24
|
+
medium: string;
|
|
25
|
+
large: string;
|
|
26
|
+
xlarge: string;
|
|
27
|
+
};
|
|
22
28
|
export type PageLayoutHeaderProps = {
|
|
23
29
|
/**
|
|
24
30
|
* A unique label for the rendered banner landmark
|
|
@@ -63,14 +69,20 @@ export type PageLayoutContentProps = {
|
|
|
63
69
|
* An id to an element which uniquely labels the rendered main landmark
|
|
64
70
|
*/
|
|
65
71
|
'aria-labelledby'?: React.AriaAttributes['aria-labelledby'];
|
|
66
|
-
width?:
|
|
72
|
+
width?: keyof typeof contentWidths;
|
|
67
73
|
padding?: keyof typeof SPACING_MAP;
|
|
68
74
|
hidden?: boolean | ResponsiveValue<boolean>;
|
|
69
75
|
className?: string;
|
|
70
76
|
style?: React.CSSProperties;
|
|
71
77
|
};
|
|
78
|
+
declare const contentWidths: {
|
|
79
|
+
full: string;
|
|
80
|
+
medium: string;
|
|
81
|
+
large: string;
|
|
82
|
+
xlarge: string;
|
|
83
|
+
};
|
|
72
84
|
export type PageLayoutPaneBaseProps = {
|
|
73
|
-
position?:
|
|
85
|
+
position?: keyof typeof panePositions | ResponsiveValue<keyof typeof panePositions>;
|
|
74
86
|
/**
|
|
75
87
|
* @deprecated Use the `position` prop with a responsive value instead.
|
|
76
88
|
*
|
|
@@ -85,7 +97,7 @@ export type PageLayoutPaneBaseProps = {
|
|
|
85
97
|
* position={{regular: 'start', narrow: 'end'}}
|
|
86
98
|
* ```
|
|
87
99
|
*/
|
|
88
|
-
positionWhenNarrow?: 'inherit' |
|
|
100
|
+
positionWhenNarrow?: 'inherit' | keyof typeof panePositions;
|
|
89
101
|
'aria-labelledby'?: string;
|
|
90
102
|
'aria-label'?: string;
|
|
91
103
|
/**
|
|
@@ -159,6 +171,10 @@ export type PageLayoutPaneProps = PageLayoutPaneBaseProps & ({
|
|
|
159
171
|
onResizeEnd?: never;
|
|
160
172
|
currentWidth?: never;
|
|
161
173
|
});
|
|
174
|
+
declare const panePositions: {
|
|
175
|
+
start: number;
|
|
176
|
+
end: number;
|
|
177
|
+
};
|
|
162
178
|
declare const Pane: React.ForwardRefExoticComponent<React.PropsWithChildren<PageLayoutPaneProps> & React.RefAttributes<HTMLDivElement>>;
|
|
163
179
|
export type PageLayoutSidebarProps = {
|
|
164
180
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PageLayout.d.ts","sourceRoot":"","sources":["../../src/PageLayout/PageLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAIzC,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,6BAA6B,CAAA;AAQhE,OAAO,KAAK,EAAC,gBAAgB,EAAE,cAAc,EAAC,MAAM,gBAAgB,CAAA;AACpE,OAAO,EAML,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,kBAAkB,EACxB,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"PageLayout.d.ts","sourceRoot":"","sources":["../../src/PageLayout/PageLayout.tsx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AC,EAAE,OAAO,GAAG,eAAe,CAAC,OAAO,CAAC,CAAA;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;CAC5B,CAAA;AA6DD,eAAO,MAAM,UAAU;;;;UAIP,cAAc,CAAC,OAAO,IAAI,CAAC;aACrB,cAAc,CAAC,OAAO,OAAO,CAAC;;CAElD,CAAA"}
|
|
@@ -32,9 +32,6 @@ const PageLayoutContext = /*#__PURE__*/React.createContext({
|
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
// ----------------------------------------------------------------------------
|
|
36
|
-
// PageLayout
|
|
37
|
-
|
|
38
35
|
// TODO: refs
|
|
39
36
|
const Root = ({
|
|
40
37
|
containerWidth = 'xlarge',
|
|
@@ -461,11 +458,6 @@ const Header = ({
|
|
|
461
458
|
};
|
|
462
459
|
Header.displayName = "Header";
|
|
463
460
|
Header.displayName = 'PageLayout.Header';
|
|
464
|
-
|
|
465
|
-
// ----------------------------------------------------------------------------
|
|
466
|
-
// PageLayout.Content
|
|
467
|
-
|
|
468
|
-
// TODO: Account for pane width when centering content
|
|
469
461
|
const Content = ({
|
|
470
462
|
as = 'main',
|
|
471
463
|
'aria-label': label,
|
|
@@ -500,10 +492,6 @@ const Content = ({
|
|
|
500
492
|
};
|
|
501
493
|
Content.displayName = "Content";
|
|
502
494
|
Content.displayName = 'PageLayout.Content';
|
|
503
|
-
|
|
504
|
-
// ----------------------------------------------------------------------------
|
|
505
|
-
// PageLayout.Pane
|
|
506
|
-
|
|
507
495
|
const overflowProps = {
|
|
508
496
|
tabIndex: 0,
|
|
509
497
|
role: 'region'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectPanel.d.ts","sourceRoot":"","sources":["../../src/SelectPanel/SelectPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsC,KAAK,SAAS,EAAC,MAAM,wBAAwB,CAAA;AAC1F,OAAO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// Let FilteredActionList handle focus zone
|
|
57
57
|
disabled: true
|
|
58
58
|
};
|
|
59
|
-
const closeButtonProps = {
|
|
60
|
-
'aria-label': 'Cancel and close'
|
|
61
|
-
};
|
|
62
59
|
const areItemsEqual = (itemA, itemB) => {
|
|
63
60
|
// prefer checking equivality by item.id
|
|
64
61
|
if (typeof itemA.id !== 'undefined') return itemA.id === itemB.id;else return itemA === itemB;
|
|
@@ -540,9 +537,9 @@ function Panel({
|
|
|
540
537
|
prevOpenRef.current = open;
|
|
541
538
|
}
|
|
542
539
|
}, [open, resetSort]);
|
|
543
|
-
const focusTrapSettings =
|
|
540
|
+
const focusTrapSettings = {
|
|
544
541
|
initialFocusRef: inputRef || undefined
|
|
545
|
-
}
|
|
542
|
+
};
|
|
546
543
|
const extendedTextInputProps = useMemo(() => {
|
|
547
544
|
return {
|
|
548
545
|
className: classes.TextInput,
|
|
@@ -618,11 +615,9 @@ function Panel({
|
|
|
618
615
|
regular: 'anchored',
|
|
619
616
|
narrow: 'fullscreen'
|
|
620
617
|
} : undefined, 'anchored');
|
|
621
|
-
const preventBubbling =
|
|
622
|
-
var _overlayProps$onKeyDo;
|
|
623
|
-
overlayProps === null || overlayProps === void 0 ? void 0 : (_overlayProps$onKeyDo = overlayProps.onKeyDown) === null || _overlayProps$onKeyDo === void 0 ? void 0 : _overlayProps$onKeyDo.call(overlayProps, event);
|
|
624
|
-
|
|
618
|
+
const preventBubbling = customOnKeyDown => event => {
|
|
625
619
|
// skip if a TextInput has focus
|
|
620
|
+
customOnKeyDown === null || customOnKeyDown === void 0 ? void 0 : customOnKeyDown(event);
|
|
626
621
|
const activeElement = document.activeElement;
|
|
627
622
|
if (activeElement.tagName === 'INPUT' || activeElement.tagName === 'TEXTAREA') return;
|
|
628
623
|
|
|
@@ -637,25 +632,7 @@ function Panel({
|
|
|
637
632
|
|
|
638
633
|
// if this is a typeahead event, don't propagate outside of menu
|
|
639
634
|
event.stopPropagation();
|
|
640
|
-
}
|
|
641
|
-
const mergedOverlayProps = useMemo(() => ({
|
|
642
|
-
role: 'dialog',
|
|
643
|
-
'aria-labelledby': titleId,
|
|
644
|
-
'aria-describedby': subtitle ? subtitleId : undefined,
|
|
645
|
-
...overlayProps,
|
|
646
|
-
...(variant === 'modal' ? {
|
|
647
|
-
top: '50vh',
|
|
648
|
-
left: '50vw',
|
|
649
|
-
anchorSide: undefined
|
|
650
|
-
} : {}),
|
|
651
|
-
style: {
|
|
652
|
-
transform: variant === 'modal' ? 'translate(-50%, -50%)' : undefined,
|
|
653
|
-
...(isKeyboardVisible ? {
|
|
654
|
-
maxHeight: availablePanelHeight !== undefined ? `${availablePanelHeight}px` : 'auto'
|
|
655
|
-
} : {})
|
|
656
|
-
},
|
|
657
|
-
onKeyDown: preventBubbling
|
|
658
|
-
}), [titleId, subtitle, subtitleId, overlayProps, variant, isKeyboardVisible, availablePanelHeight, preventBubbling]);
|
|
635
|
+
};
|
|
659
636
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
660
637
|
children: [/*#__PURE__*/jsx(AnchoredOverlay, {
|
|
661
638
|
renderAnchor: renderMenuAnchor,
|
|
@@ -664,7 +641,27 @@ function Panel({
|
|
|
664
641
|
open: open,
|
|
665
642
|
onOpen: onOpen,
|
|
666
643
|
onClose: onClose,
|
|
667
|
-
overlayProps:
|
|
644
|
+
overlayProps: {
|
|
645
|
+
role: 'dialog',
|
|
646
|
+
'aria-labelledby': titleId,
|
|
647
|
+
'aria-describedby': subtitle ? subtitleId : undefined,
|
|
648
|
+
...overlayProps,
|
|
649
|
+
...(variant === 'modal' ? {
|
|
650
|
+
/* override AnchoredOverlay position */
|
|
651
|
+
top: '50vh',
|
|
652
|
+
left: '50vw',
|
|
653
|
+
anchorSide: undefined
|
|
654
|
+
} : {}),
|
|
655
|
+
style: {
|
|
656
|
+
/* override AnchoredOverlay position */
|
|
657
|
+
transform: variant === 'modal' ? 'translate(-50%, -50%)' : undefined,
|
|
658
|
+
// set maxHeight based on calculated availablePanelHeight when keyboard is visible
|
|
659
|
+
...(isKeyboardVisible ? {
|
|
660
|
+
maxHeight: availablePanelHeight !== undefined ? `${availablePanelHeight}px` : 'auto'
|
|
661
|
+
} : {})
|
|
662
|
+
},
|
|
663
|
+
onKeyDown: preventBubbling(overlayProps === null || overlayProps === void 0 ? void 0 : overlayProps.onKeyDown)
|
|
664
|
+
},
|
|
668
665
|
focusTrapSettings: focusTrapSettings,
|
|
669
666
|
focusZoneSettings: focusZoneSettings,
|
|
670
667
|
height: height,
|
|
@@ -677,7 +674,9 @@ function Panel({
|
|
|
677
674
|
pinPosition: !height,
|
|
678
675
|
className: classes.Overlay,
|
|
679
676
|
displayCloseButton: showXCloseIcon,
|
|
680
|
-
closeButtonProps:
|
|
677
|
+
closeButtonProps: {
|
|
678
|
+
'aria-label': 'Cancel and close'
|
|
679
|
+
},
|
|
681
680
|
children: /*#__PURE__*/jsxs("div", {
|
|
682
681
|
className: classes.Wrapper,
|
|
683
682
|
"data-variant": variant,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextInput.d.ts","sourceRoot":"","sources":["../../src/TextInput/TextInput.tsx"],"names":[],"mappings":"AACA,OAAO,KAAwD,MAAM,OAAO,CAAA;AAE5E,OAAO,KAAK,EAAC,mBAAmB,IAAI,8BAA8B,EAAC,MAAM,sBAAsB,CAAA;AAO/F,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,gBAAgB,CAAA;AACzC,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,yCAAyC,CAAA;AAQ/E,MAAM,MAAM,4BAA4B,GAAG;IACzC,uEAAuE;IACvE,IAAI,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IACxB,2DAA2D;IAC3D,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;;;QAKI;IACJ,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,UAAU,CAAA;IAChD,0DAA0D;IAC1D,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;OAEG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AE,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,SAAS,CAAA;IACnD;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,SAAS,CAAA;IACpD;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC,CAAA;IACvE;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,GAAG,OAAO,CACT,IAAI,CACF,kBAAkB,EAChB,OAAO,GACP,UAAU,GACV,UAAU,GACV,WAAW,GACX,OAAO,GACP,UAAU,GACV,UAAU,GACV,SAAS,GACT,MAAM,GACN,kBAAkB,CACrB,CACF,CAAA;AAED,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,KAAK,CAAC,wBAAwB,CAAC,OAAO,CAAC,EAAE,4BAA4B,CAAC,CAAA;;;;;;;;;;;AAiOzG,wBAGE"}
|
|
@@ -51,10 +51,6 @@ const TextInput = /*#__PURE__*/React.forwardRef(({
|
|
|
51
51
|
const [isOverLimit, setIsOverLimit] = useState(false);
|
|
52
52
|
const [screenReaderMessage, setScreenReaderMessage] = useState('');
|
|
53
53
|
const characterCounterRef = useRef(null);
|
|
54
|
-
const lastCountedLengthRef = useRef(null);
|
|
55
|
-
const lastCharacterCountRef = useRef('');
|
|
56
|
-
const lastIsOverLimitRef = useRef(false);
|
|
57
|
-
const lastScreenReaderMessageRef = useRef('');
|
|
58
54
|
|
|
59
55
|
// this class is necessary to style FilterSearch, plz no touchy!
|
|
60
56
|
const wrapperClasses = clsx(className, 'TextInput-wrapper');
|
|
@@ -88,31 +84,17 @@ const TextInput = /*#__PURE__*/React.forwardRef(({
|
|
|
88
84
|
if (characterLimit) {
|
|
89
85
|
characterCounterRef.current = new CharacterCounter({
|
|
90
86
|
onCountUpdate: (count, overLimit, message) => {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
setCharacterCount(message);
|
|
94
|
-
}
|
|
95
|
-
if (overLimit !== lastIsOverLimitRef.current) {
|
|
96
|
-
lastIsOverLimitRef.current = overLimit;
|
|
97
|
-
setIsOverLimit(overLimit);
|
|
98
|
-
}
|
|
87
|
+
setCharacterCount(message);
|
|
88
|
+
setIsOverLimit(overLimit);
|
|
99
89
|
},
|
|
100
90
|
onScreenReaderAnnounce: message_0 => {
|
|
101
|
-
|
|
102
|
-
lastScreenReaderMessageRef.current = message_0;
|
|
103
|
-
setScreenReaderMessage(message_0);
|
|
104
|
-
}
|
|
91
|
+
setScreenReaderMessage(message_0);
|
|
105
92
|
}
|
|
106
93
|
});
|
|
107
|
-
lastCountedLengthRef.current = null;
|
|
108
94
|
return () => {
|
|
109
95
|
var _characterCounterRef$;
|
|
110
96
|
(_characterCounterRef$ = characterCounterRef.current) === null || _characterCounterRef$ === void 0 ? void 0 : _characterCounterRef$.cleanup();
|
|
111
97
|
characterCounterRef.current = null;
|
|
112
|
-
lastCountedLengthRef.current = null;
|
|
113
|
-
lastCharacterCountRef.current = '';
|
|
114
|
-
lastIsOverLimitRef.current = false;
|
|
115
|
-
lastScreenReaderMessageRef.current = '';
|
|
116
98
|
};
|
|
117
99
|
}
|
|
118
100
|
}, [characterLimit]);
|
|
@@ -121,22 +103,14 @@ const TextInput = /*#__PURE__*/React.forwardRef(({
|
|
|
121
103
|
useEffect(() => {
|
|
122
104
|
if (characterLimit && characterCounterRef.current) {
|
|
123
105
|
const currentValue = value !== undefined ? String(value) : defaultValue !== undefined ? String(defaultValue) : '';
|
|
124
|
-
|
|
125
|
-
if (currentLength !== lastCountedLengthRef.current) {
|
|
126
|
-
lastCountedLengthRef.current = currentLength;
|
|
127
|
-
characterCounterRef.current.updateCharacterCount(currentLength, characterLimit);
|
|
128
|
-
}
|
|
106
|
+
characterCounterRef.current.updateCharacterCount(currentValue.length, characterLimit);
|
|
129
107
|
}
|
|
130
108
|
}, [value, defaultValue, characterLimit]);
|
|
131
109
|
|
|
132
110
|
// Handle input change with character counter
|
|
133
111
|
const handleInputChange = useCallback(e_2 => {
|
|
134
112
|
if (characterLimit && characterCounterRef.current) {
|
|
135
|
-
|
|
136
|
-
if (currentLength_0 !== lastCountedLengthRef.current) {
|
|
137
|
-
lastCountedLengthRef.current = currentLength_0;
|
|
138
|
-
characterCounterRef.current.updateCharacterCount(currentLength_0, characterLimit);
|
|
139
|
-
}
|
|
113
|
+
characterCounterRef.current.updateCharacterCount(e_2.target.value.length, characterLimit);
|
|
140
114
|
}
|
|
141
115
|
onChange === null || onChange === void 0 ? void 0 : onChange(e_2);
|
|
142
116
|
}, [onChange, characterLimit]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreeView.d.ts","sourceRoot":"","sources":["../../src/TreeView/TreeView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,IAAI,EACV,MAAM,wBAAwB,CAAA;AAE/B,OAAO,KAA+B,MAAM,OAAO,CAAA;AAsBnD,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"TreeView.d.ts","sourceRoot":"","sources":["../../src/TreeView/TreeView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,IAAI,EACV,MAAM,wBAAwB,CAAA;AAE/B,OAAO,KAA+B,MAAM,OAAO,CAAA;AAsBnD,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,gBAAgB,CAAA;AA0CpD,MAAM,MAAM,aAAa,GAAG;IAC1B,YAAY,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,YAAY,CAAC,CAAA;IACjD,iBAAiB,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC,CAAA;IAC3D,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,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