@gbmtech/aurora-ui 0.2.47 → 0.2.48
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/cjs/components/label.cjs +1 -1
- package/dist/cjs/components/label.cjs.map +1 -1
- package/dist/esm/components/data-table/index.js +1 -1
- package/dist/esm/components/label.d.ts +3 -1
- package/dist/esm/components/label.d.ts.map +1 -1
- package/dist/esm/components/label.js +1 -1
- package/dist/esm/components/label.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
'use client'
|
|
2
|
-
"use strict";let __rslib_import_meta_url__="undefined"==typeof document?new(require("url".replace("",""))).URL("file:"+__filename).href:document.currentScript&&document.currentScript.src||new URL("main.js",document.baseURI).href;var __webpack_require__={};__webpack_require__.d=(e,_)=>{for(var r in _)__webpack_require__.o(_,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:_[r]})},__webpack_require__.o=(e,_)=>Object.prototype.hasOwnProperty.call(e,_),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Label:()=>Label});let jsx_runtime_namespaceObject=require("react/jsx-runtime"),react_label_namespaceObject=require("@radix-ui/react-label"),utils_cjs_namespaceObject=require("../lib/utils.cjs");function Label({className:e,...
|
|
2
|
+
"use strict";let __rslib_import_meta_url__="undefined"==typeof document?new(require("url".replace("",""))).URL("file:"+__filename).href:document.currentScript&&document.currentScript.src||new URL("main.js",document.baseURI).href;var __webpack_require__={};__webpack_require__.d=(e,_)=>{for(var r in _)__webpack_require__.o(_,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:_[r]})},__webpack_require__.o=(e,_)=>Object.prototype.hasOwnProperty.call(e,_),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Label:()=>Label});let jsx_runtime_namespaceObject=require("react/jsx-runtime"),react_label_namespaceObject=require("@radix-ui/react-label"),utils_cjs_namespaceObject=require("../lib/utils.cjs");function Label({className:e,children:_,required:r=!1,...a}){return(0,jsx_runtime_namespaceObject.jsxs)(react_label_namespaceObject.Root,{className:(0,utils_cjs_namespaceObject.cn)("inline-block font-medium text-gbm-dark text-sm leading-none peer-disabled:opacity-50 peer-aria-invalid:text-error data-invalid:text-error group-data-disabled:opacity-50 peer-data-disabled:opacity-50",e),"data-slot":"label",...a,children:[_,r&&(0,jsx_runtime_namespaceObject.jsx)("span",{className:"ml-1 text-error","aria-required":"true",children:"*"})]})}for(var __webpack_i__ in Label.displayName="Label",exports.Label=__webpack_exports__.Label,__webpack_exports__)-1===["Label"].indexOf(__webpack_i__)&&(exports[__webpack_i__]=__webpack_exports__[__webpack_i__]);Object.defineProperty(exports,"__esModule",{value:!0});
|
|
3
3
|
//# sourceMappingURL=label.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components\\label.cjs","sources":["webpack://@gbmtech/aurora-ui/./src/components/label.tsx"],"sourcesContent":["\r\n\r\nimport * as LabelPrimitive from '@radix-ui/react-label'\r\nimport { ComponentProps, JSX } from 'react'\r\n\r\nimport { cn } from '@/lib/utils'\r\n\r\n/* -----------------------------------------------------------------------------\r\n * Component: Label\r\n * -------------------------------------------------------------------------- */\r\n\r\nfunction Label({\r\n className,\r\n ...props\r\n}: ComponentProps<typeof LabelPrimitive.Root>): JSX.Element {\r\n return (\r\n <LabelPrimitive.Root\r\n className={cn(\r\n 'inline-block font-medium text-gbm-dark text-sm leading-none peer-disabled:opacity-50 peer-aria-invalid:text-error data-invalid:text-error group-data-disabled:opacity-50 peer-data-disabled:opacity-50',\r\n className\r\n )}\r\n data-slot=\"label\"\r\n {...props}\r\n
|
|
1
|
+
{"version":3,"file":"components\\label.cjs","sources":["webpack://@gbmtech/aurora-ui/./src/components/label.tsx"],"sourcesContent":["\r\n\r\nimport * as LabelPrimitive from '@radix-ui/react-label'\r\nimport { ComponentProps, JSX } from 'react'\r\n\r\nimport { cn } from '@/lib/utils'\r\n\r\n/* -----------------------------------------------------------------------------\r\n * Component: Label\r\n * -------------------------------------------------------------------------- */\r\n\r\nfunction Label({\r\n className,\r\n children,\r\n required = false,\r\n ...props\r\n}: ComponentProps<typeof LabelPrimitive.Root> & {\r\n required?: boolean\r\n}): JSX.Element {\r\n return (\r\n <LabelPrimitive.Root\r\n className={cn(\r\n 'inline-block font-medium text-gbm-dark text-sm leading-none peer-disabled:opacity-50 peer-aria-invalid:text-error data-invalid:text-error group-data-disabled:opacity-50 peer-data-disabled:opacity-50',\r\n className\r\n )}\r\n data-slot=\"label\"\r\n {...props}\r\n >\r\n {children}\r\n {required && (\r\n <span className=\"ml-1 text-error\" aria-required=\"true\">\r\n *\r\n </span>\r\n )}\r\n </LabelPrimitive.Root>\r\n )\r\n}\r\nLabel.displayName = 'Label'\r\n\r\n/* -----------------------------------------------------------------------------\r\n * Exports\r\n * -------------------------------------------------------------------------- */\r\n\r\nexport { Label }\r\n"],"names":["Label","className","children","required","props","LabelPrimitive","cn"],"mappings":";88BAWA,SAASA,MAAM,CACbC,UAAAA,CAAS,CACTC,SAAAA,CAAQ,CACRC,SAAAA,EAAW,EAAK,CAChB,GAAGC,EAGJ,EACC,MACE,qCAACC,4BAAAA,IAAmB,EAClB,UAAWC,GAAAA,0BAAAA,EAAAA,EACT,yMACAL,GAEF,YAAU,QACT,GAAGG,CAAK,C,UAERF,EACAC,GACC,oCAAC,QAAK,UAAU,kBAAkB,gBAAc,O,SAAO,G,KAM/D,C,yBACAH,MAAM,WAAW,CAAG,Q"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as t from"./data-table-
|
|
1
|
+
import*as t from"./data-table-date-filter.js";import*as a from"./data-table-faceted-filter.js";import*as e from"./data-table-pagination.js";import*as o from"./data-table-slider-filter.js";import*as r from"./data-table-view-options.js";export*from"./data-table-action-bar.js";export*from"./data-table-advanced-toolbar.js";export*from"./data-table-column-header.js";export*from"./data-table-filter-list.js";export*from"./data-table-filter-menu.js";export*from"./data-table-range-filter.js";export*from"./data-table-skeleton.js";export*from"./data-table-sort-list.js";export*from"./data-table-toolbar.js";export*from"./data-table.js";var n={"@/components/data-table/data-table-date-filter":function(a){a.exports=t},"@/components/data-table/data-table-faceted-filter":function(t){t.exports=a},"@/components/data-table/data-table-pagination":function(t){t.exports=e},"@/components/data-table/data-table-slider-filter":function(t){t.exports=o},"@/components/data-table/data-table-view-options":function(t){t.exports=r}},d={};function l(t){var a=d[t];if(void 0!==a)return a.exports;var e=d[t]={exports:{}};return n[t](e,e.exports,l),e.exports}l.d=(t,a)=>{for(var e in a)l.o(a,e)&&!l.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:a[e]})},l.o=(t,a)=>Object.prototype.hasOwnProperty.call(t,a),l.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};l.r(i);var f=l("@/components/data-table/data-table-date-filter"),b={};for(var s in f)"default"!==s&&(b[s]=(function(t){return f[t]}).bind(0,s));l.d(i,b);var p=l("@/components/data-table/data-table-faceted-filter"),b={};for(var s in p)"default"!==s&&(b[s]=(function(t){return p[t]}).bind(0,s));l.d(i,b);var m=l("@/components/data-table/data-table-pagination"),b={};for(var s in m)"default"!==s&&(b[s]=(function(t){return m[t]}).bind(0,s));l.d(i,b);var c=l("@/components/data-table/data-table-slider-filter"),b={};for(var s in c)"default"!==s&&(b[s]=(function(t){return c[t]}).bind(0,s));l.d(i,b);var u=l("@/components/data-table/data-table-view-options"),b={};for(var s in u)"default"!==s&&(b[s]=(function(t){return u[t]}).bind(0,s));l.d(i,b);
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
2
2
|
import { ComponentProps, JSX } from 'react';
|
|
3
|
-
declare function Label({ className, ...props }: ComponentProps<typeof LabelPrimitive.Root>
|
|
3
|
+
declare function Label({ className, children, required, ...props }: ComponentProps<typeof LabelPrimitive.Root> & {
|
|
4
|
+
required?: boolean;
|
|
5
|
+
}): JSX.Element;
|
|
4
6
|
declare namespace Label {
|
|
5
7
|
var displayName: string;
|
|
6
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/components/label.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAQ3C,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,GAAG,KAAK,EACT,EAAE,cAAc,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"label.d.ts","sourceRoot":"","sources":["../../../src/components/label.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAQ3C,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,QAAQ,EACR,QAAgB,EAChB,GAAG,KAAK,EACT,EAAE,cAAc,CAAC,OAAO,cAAc,CAAC,IAAI,CAAC,GAAG;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,GAAG,GAAG,CAAC,OAAO,CAkBd;kBAzBQ,KAAK;;;AAgCd,OAAO,EAAE,KAAK,EAAE,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
'use client'
|
|
2
|
-
import*as a from"react/jsx-runtime";import*as e from"@radix-ui/react-label";import*as
|
|
2
|
+
import*as a from"react/jsx-runtime";import*as e from"@radix-ui/react-label";import*as r from"../lib/utils.js";function t({className:t,children:i,required:l=!1,...o}){return(0,a.jsxs)(e.Root,{className:(0,r.cn)("inline-block font-medium text-gbm-dark text-sm leading-none peer-disabled:opacity-50 peer-aria-invalid:text-error data-invalid:text-error group-data-disabled:opacity-50 peer-data-disabled:opacity-50",t),"data-slot":"label",...o,children:[i,l&&(0,a.jsx)("span",{className:"ml-1 text-error","aria-required":"true",children:"*"})]})}t.displayName="Label";export{t as Label};
|
|
3
3
|
//# sourceMappingURL=label.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components\\label.js","sources":["webpack://@gbmtech/aurora-ui/./src/components/label.tsx"],"sourcesContent":["\r\n\r\nimport * as LabelPrimitive from '@radix-ui/react-label'\r\nimport { ComponentProps, JSX } from 'react'\r\n\r\nimport { cn } from '@/lib/utils'\r\n\r\n/* -----------------------------------------------------------------------------\r\n * Component: Label\r\n * -------------------------------------------------------------------------- */\r\n\r\nfunction Label({\r\n className,\r\n ...props\r\n}: ComponentProps<typeof LabelPrimitive.Root>): JSX.Element {\r\n return (\r\n <LabelPrimitive.Root\r\n className={cn(\r\n 'inline-block font-medium text-gbm-dark text-sm leading-none peer-disabled:opacity-50 peer-aria-invalid:text-error data-invalid:text-error group-data-disabled:opacity-50 peer-data-disabled:opacity-50',\r\n className\r\n )}\r\n data-slot=\"label\"\r\n {...props}\r\n
|
|
1
|
+
{"version":3,"file":"components\\label.js","sources":["webpack://@gbmtech/aurora-ui/./src/components/label.tsx"],"sourcesContent":["\r\n\r\nimport * as LabelPrimitive from '@radix-ui/react-label'\r\nimport { ComponentProps, JSX } from 'react'\r\n\r\nimport { cn } from '@/lib/utils'\r\n\r\n/* -----------------------------------------------------------------------------\r\n * Component: Label\r\n * -------------------------------------------------------------------------- */\r\n\r\nfunction Label({\r\n className,\r\n children,\r\n required = false,\r\n ...props\r\n}: ComponentProps<typeof LabelPrimitive.Root> & {\r\n required?: boolean\r\n}): JSX.Element {\r\n return (\r\n <LabelPrimitive.Root\r\n className={cn(\r\n 'inline-block font-medium text-gbm-dark text-sm leading-none peer-disabled:opacity-50 peer-aria-invalid:text-error data-invalid:text-error group-data-disabled:opacity-50 peer-data-disabled:opacity-50',\r\n className\r\n )}\r\n data-slot=\"label\"\r\n {...props}\r\n >\r\n {children}\r\n {required && (\r\n <span className=\"ml-1 text-error\" aria-required=\"true\">\r\n *\r\n </span>\r\n )}\r\n </LabelPrimitive.Root>\r\n )\r\n}\r\nLabel.displayName = 'Label'\r\n\r\n/* -----------------------------------------------------------------------------\r\n * Exports\r\n * -------------------------------------------------------------------------- */\r\n\r\nexport { Label }\r\n"],"names":["Label","className","children","required","props","LabelPrimitive","cn"],"mappings":";8GAWA,SAASA,EAAM,CACbC,UAAAA,CAAS,CACTC,SAAAA,CAAQ,CACRC,SAAAA,EAAW,EAAK,CAChB,GAAGC,EAGJ,EACC,MACE,WAACC,EAAAA,IAAmB,EAClB,UAAWC,GAAAA,EAAAA,EAAAA,EACT,yMACAL,GAEF,YAAU,QACT,GAAGG,CAAK,C,UAERF,EACAC,GACC,UAAC,QAAK,UAAU,kBAAkB,gBAAc,O,SAAO,G,KAM/D,CACAH,EAAM,WAAW,CAAG,e"}
|