@windrun-huaiin/base-ui 4.0.0 → 4.1.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/dist/components/client/index.d.mts +22 -1
- package/dist/components/client/index.d.ts +22 -1
- package/dist/components/client/index.js +5 -0
- package/dist/components/client/index.js.map +1 -1
- package/dist/components/client/index.mjs +4 -1
- package/dist/components/client/index.mjs.map +1 -1
- package/dist/index.d.mts +1 -8
- package/dist/index.d.ts +1 -8
- package/dist/index.js +33 -515
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +32 -464
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -6
- package/src/components/404-page.tsx +1 -1
- package/src/components/client/index.ts +5 -1
- package/src/{lib → components}/site-icon.tsx +1 -1
- package/src/index.ts +1 -3
- package/dist/lib/index.d.mts +0 -24
- package/dist/lib/index.d.ts +0 -24
- package/dist/lib/index.js +0 -1174
- package/dist/lib/index.js.map +0 -1
- package/dist/lib/index.mjs +0 -1167
- package/dist/lib/index.mjs.map +0 -1
- package/src/lib/index.ts +0 -3
- /package/src/{lib → components}/icon-context.tsx +0 -0
@@ -1116,6 +1116,9 @@ function cn(...inputs) {
|
|
1116
1116
|
return twMerge(clsx(inputs));
|
1117
1117
|
}
|
1118
1118
|
var IconConfigContext = createContext(null);
|
1119
|
+
function IconConfigProvider({ config, children }) {
|
1120
|
+
return /* @__PURE__ */ jsx(IconConfigContext.Provider, { value: config, children });
|
1121
|
+
}
|
1119
1122
|
function useIconConfig() {
|
1120
1123
|
const config = useContext(IconConfigContext);
|
1121
1124
|
if (config === null) {
|
@@ -1605,6 +1608,6 @@ function MicrosoftClarityScript() {
|
|
1605
1608
|
* LICENSE file in the root directory of this source tree.
|
1606
1609
|
*/
|
1607
1610
|
|
1608
|
-
export { GoogleAnalyticsScript, LanguageDetector, LanguageSwitcher, MicrosoftClarityScript, NotFoundPage, useGoogleAnalytics };
|
1611
|
+
export { GoogleAnalyticsScript, IconConfigProvider, LanguageDetector, LanguageSwitcher, MicrosoftClarityScript, NotFoundPage, SiteIcon, useGoogleAnalytics };
|
1609
1612
|
//# sourceMappingURL=index.mjs.map
|
1610
1613
|
//# sourceMappingURL=index.mjs.map
|