@phsa.tec/design-system-react 0.3.0 → 0.3.1
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/README.md +70 -39
- package/dist/index.d.mts +1 -36
- package/dist/index.d.ts +1 -36
- package/dist/index.js +0 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -13
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -2
package/dist/index.mjs
CHANGED
|
@@ -4187,18 +4187,6 @@ function Switch2(_a) {
|
|
|
4187
4187
|
}
|
|
4188
4188
|
);
|
|
4189
4189
|
}
|
|
4190
|
-
|
|
4191
|
-
// src/components/config/DesignSystemProvider/index.tsx
|
|
4192
|
-
import { useId as useId2 } from "react";
|
|
4193
|
-
import { jsx as jsx67 } from "react/jsx-runtime";
|
|
4194
|
-
function DesignSystemProvider({
|
|
4195
|
-
children,
|
|
4196
|
-
className = ""
|
|
4197
|
-
}) {
|
|
4198
|
-
const uniqueId = useId2().replace(/:/g, "_");
|
|
4199
|
-
const scopeClass = `ds-${uniqueId}`;
|
|
4200
|
-
return /* @__PURE__ */ jsx67("div", { className: `ds ${scopeClass} ${className}`.trim(), children });
|
|
4201
|
-
}
|
|
4202
4190
|
export {
|
|
4203
4191
|
AlertDialog2 as AlertDialog,
|
|
4204
4192
|
Avatar,
|
|
@@ -4226,7 +4214,6 @@ export {
|
|
|
4226
4214
|
CollapsibleTrigger2 as CollapsibleTrigger,
|
|
4227
4215
|
CustomDrawer,
|
|
4228
4216
|
DataPairList,
|
|
4229
|
-
DesignSystemProvider,
|
|
4230
4217
|
Dialog2 as Dialog,
|
|
4231
4218
|
DialogWithForm,
|
|
4232
4219
|
Drawer,
|