@instincthub/react-ui 0.1.30 → 0.1.32
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/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/endOfMonth.js +2 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/endOfMonth.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/endOfWeek.js +2 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/endOfWeek.js.map +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/subDays.js +2 -0
- package/dist/node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/subDays.js.map +1 -0
- package/dist/node_modules/.pnpm/lucide-react@0.525.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/chevron-down.js +2 -2
- package/dist/node_modules/.pnpm/lucide-react@0.525.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/chevron-down.js.map +1 -1
- package/dist/node_modules/.pnpm/lucide-react@0.525.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/loader-circle.js +1 -1
- package/dist/node_modules/.pnpm/lucide-react@0.525.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/loader-circle.js.map +1 -1
- package/dist/node_modules/.pnpm/lucide-react@0.525.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/search.js +2 -2
- package/dist/node_modules/.pnpm/lucide-react@0.525.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/search.js.map +1 -1
- package/dist/node_modules/.pnpm/lucide-react@0.525.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/x.js +1 -1
- package/dist/node_modules/.pnpm/lucide-react@0.525.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/x.js.map +1 -1
- package/dist/src/assets/css/forms/date-range-picker.css +184 -0
- package/dist/src/assets/css/forms/datetime-picker.css +110 -111
- package/dist/src/assets/css/forms/forms-index.css +2 -0
- package/dist/src/assets/css/forms/input-fields.css +1 -0
- package/dist/src/assets/css/forms/search-objects-from-db.css +2 -2
- package/dist/src/assets/css/forms/searchable-dropdown.css +187 -0
- package/dist/src/assets/css/ui/tables.css +10 -6
- package/dist/src/components/forms/DateRangePicker.js +2 -0
- package/dist/src/components/forms/DateRangePicker.js.map +1 -0
- package/dist/src/components/forms/DateTimePicker.js +1 -1
- package/dist/src/components/forms/SearchableDropdown.js +2 -0
- package/dist/src/components/forms/SearchableDropdown.js.map +1 -0
- package/dist/src/components/ui/ComponentLists.js +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/types/components/forms/DateRangePicker.d.ts +19 -0
- package/dist/src/types/components/forms/SearchableDropdown.d.ts +56 -0
- package/dist/src/types/components/forms/index.d.ts +2 -0
- package/dist/src/types/index.d.ts +2 -0
- package/dist/src/types/types/index.d.ts +50 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +204 -203
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endOfMonth.js","sources":["../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/endOfMonth.js"],"sourcesContent":["import { toDate } from \"./toDate.js\";\n\n/**\n * The {@link endOfMonth} function options.\n */\n\n/**\n * @name endOfMonth\n * @category Month Helpers\n * @summary Return the end of a month for the given date.\n *\n * @description\n * Return the end of a month for the given date.\n * The result will be in the local timezone.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param date - The original date\n * @param options - An object with options\n *\n * @returns The end of a month\n *\n * @example\n * // The end of a month for 2 September 2014 11:55:00:\n * const result = endOfMonth(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 30 2014 23:59:59.999\n */\nexport function endOfMonth(date, options) {\n const _date = toDate(date, options?.in);\n const month = _date.getMonth();\n _date.setFullYear(_date.getFullYear(), month + 1, 0);\n _date.setHours(23, 59, 59, 999);\n return _date;\n}\n\n// Fallback for modularized imports:\nexport default endOfMonth;\n"],"names":["endOfMonth","date","options","_date","toDate","in","month","getMonth","setFullYear","getFullYear","setHours"],"mappings":"qCA4BO,SAASA,EAAWC,EAAMC,GAC/B,MAAMC,EAAQC,EAAOH,EAAMC,GAASG,IAC9BC,EAAQH,EAAMI,WAGpB,OAFAJ,EAAMK,YAAYL,EAAMM,cAAeH,EAAQ,EAAG,GAClDH,EAAMO,SAAS,GAAI,GAAI,GAAI,KACpBP,CACT"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{getDefaultOptions as t}from"./_lib/defaultOptions.js";import{toDate as e}from"./toDate.js";function o(o,s){const a=t(),n=s?.weekStartsOn??s?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,r=e(o,s?.in),i=r.getDay(),l=6+(i<n?-7:0)-(i-n);return r.setDate(r.getDate()+l),r.setHours(23,59,59,999),r}export{o as default,o as endOfWeek};
|
|
2
|
+
//# sourceMappingURL=endOfWeek.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endOfWeek.js","sources":["../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/endOfWeek.js"],"sourcesContent":["import { getDefaultOptions } from \"./_lib/defaultOptions.js\";\nimport { toDate } from \"./toDate.js\";\n\n/**\n * The {@link endOfWeek} function options.\n */\n\n/**\n * @name endOfWeek\n * @category Week Helpers\n * @summary Return the end of a week for the given date.\n *\n * @description\n * Return the end of a week for the given date.\n * The result will be in the local timezone.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param date - The original date\n * @param options - An object with options\n *\n * @returns The end of a week\n *\n * @example\n * // The end of a week for 2 September 2014 11:55:00:\n * const result = endOfWeek(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Sat Sep 06 2014 23:59:59.999\n *\n * @example\n * // If the week starts on Monday, the end of the week for 2 September 2014 11:55:00:\n * const result = endOfWeek(new Date(2014, 8, 2, 11, 55, 0), { weekStartsOn: 1 })\n * //=> Sun Sep 07 2014 23:59:59.999\n */\nexport function endOfWeek(date, options) {\n const defaultOptions = getDefaultOptions();\n const weekStartsOn =\n options?.weekStartsOn ??\n options?.locale?.options?.weekStartsOn ??\n defaultOptions.weekStartsOn ??\n defaultOptions.locale?.options?.weekStartsOn ??\n 0;\n\n const _date = toDate(date, options?.in);\n const day = _date.getDay();\n const diff = (day < weekStartsOn ? -7 : 0) + 6 - (day - weekStartsOn);\n\n _date.setDate(_date.getDate() + diff);\n _date.setHours(23, 59, 59, 999);\n return _date;\n}\n\n// Fallback for modularized imports:\nexport default endOfWeek;\n"],"names":["endOfWeek","date","options","defaultOptions","getDefaultOptions","weekStartsOn","locale","_date","toDate","in","day","getDay","diff","setDate","getDate","setHours"],"mappings":"kGAkCO,SAASA,EAAUC,EAAMC,GAC9B,MAAMC,EAAiBC,IACjBC,EACJH,GAASG,cACTH,GAASI,QAAQJ,SAASG,cAC1BF,EAAeE,cACfF,EAAeG,QAAQJ,SAASG,cAChC,EAEIE,EAAQC,EAAOP,EAAMC,GAASO,IAC9BC,EAAMH,EAAMI,SACZC,EAAuC,GAA/BF,EAAML,GAAgB,EAAI,IAAUK,EAAML,GAIxD,OAFAE,EAAMM,QAAQN,EAAMO,UAAYF,GAChCL,EAAMQ,SAAS,GAAI,GAAI,GAAI,KACpBR,CACT"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subDays.js","sources":["../../../../../../node_modules/.pnpm/date-fns@4.1.0/node_modules/date-fns/subDays.js"],"sourcesContent":["import { addDays } from \"./addDays.js\";\n\n/**\n * The {@link subDays} function options.\n */\n\n/**\n * @name subDays\n * @category Day Helpers\n * @summary Subtract the specified number of days from the given date.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param date - The date to be changed\n * @param amount - The amount of days to be subtracted.\n * @param options - An object with options\n *\n * @returns The new date with the days subtracted\n *\n * @example\n * // Subtract 10 days from 1 September 2014:\n * const result = subDays(new Date(2014, 8, 1), 10)\n * //=> Fri Aug 22 2014 00:00:00\n */\nexport function subDays(date, amount, options) {\n return addDays(date, -amount, options);\n}\n\n// Fallback for modularized imports:\nexport default subDays;\n"],"names":["subDays","date","amount","options","addDays"],"mappings":"uCAyBO,SAASA,EAAQC,EAAMC,EAAQC,GACpC,OAAOC,EAAQH,GAAOC,EAAQC,EAChC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from"../createLucideIcon.js";
|
|
2
2
|
/**
|
|
3
3
|
* @license lucide-react v0.525.0 - ISC
|
|
4
4
|
*
|
|
5
5
|
* This source code is licensed under the ISC license.
|
|
6
6
|
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/const
|
|
7
|
+
*/const o=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],r=e("chevron-down",o);export{o as __iconNode,r as default};
|
|
8
8
|
//# sourceMappingURL=chevron-down.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chevron-down.js","sources":["../../../../../../../../../node_modules/.pnpm/lucide-react@0.525.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/chevron-down.js"],"sourcesContent":["/**\n * @license lucide-react v0.525.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [[\"path\", { d: \"m6 9 6 6 6-6\", key: \"qrunsl\" }]];\nconst ChevronDown = createLucideIcon(\"chevron-down\", __iconNode);\n\nexport { __iconNode, ChevronDown as default };\n//# sourceMappingURL=chevron-down.js.map\n"],"names":["__iconNode","d","key","createLucideIcon"],"mappings":";;;;;;GASK,MAACA,EAAa,CAAC,CAAC,OAAQ,CAAEC,EAAG,eAAgBC,IAAK,
|
|
1
|
+
{"version":3,"file":"chevron-down.js","sources":["../../../../../../../../../node_modules/.pnpm/lucide-react@0.525.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/chevron-down.js"],"sourcesContent":["/**\n * @license lucide-react v0.525.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [[\"path\", { d: \"m6 9 6 6 6-6\", key: \"qrunsl\" }]];\nconst ChevronDown = createLucideIcon(\"chevron-down\", __iconNode);\n\nexport { __iconNode, ChevronDown as default };\n//# sourceMappingURL=chevron-down.js.map\n"],"names":["__iconNode","d","key","ChevronDown","createLucideIcon"],"mappings":";;;;;;GASK,MAACA,EAAa,CAAC,CAAC,OAAQ,CAAEC,EAAG,eAAgBC,IAAK,YACjDC,EAAcC,EAAiB,eAAgBJ"}
|
|
@@ -4,5 +4,5 @@ import e from"../createLucideIcon.js";
|
|
|
4
4
|
*
|
|
5
5
|
* This source code is licensed under the ISC license.
|
|
6
6
|
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/const
|
|
7
|
+
*/const a=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],c=e("loader-circle",a);export{a as __iconNode,c as default};
|
|
8
8
|
//# sourceMappingURL=loader-circle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loader-circle.js","sources":["../../../../../../../../../node_modules/.pnpm/lucide-react@0.525.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/loader-circle.js"],"sourcesContent":["/**\n * @license lucide-react v0.525.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [[\"path\", { d: \"M21 12a9 9 0 1 1-6.219-8.56\", key: \"13zald\" }]];\nconst LoaderCircle = createLucideIcon(\"loader-circle\", __iconNode);\n\nexport { __iconNode, LoaderCircle as default };\n//# sourceMappingURL=loader-circle.js.map\n"],"names":["__iconNode","d","key","createLucideIcon"],"mappings":";;;;;;GASK,MAACA,EAAa,CAAC,CAAC,OAAQ,CAAEC,EAAG,8BAA+BC,IAAK,
|
|
1
|
+
{"version":3,"file":"loader-circle.js","sources":["../../../../../../../../../node_modules/.pnpm/lucide-react@0.525.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/loader-circle.js"],"sourcesContent":["/**\n * @license lucide-react v0.525.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [[\"path\", { d: \"M21 12a9 9 0 1 1-6.219-8.56\", key: \"13zald\" }]];\nconst LoaderCircle = createLucideIcon(\"loader-circle\", __iconNode);\n\nexport { __iconNode, LoaderCircle as default };\n//# sourceMappingURL=loader-circle.js.map\n"],"names":["__iconNode","d","key","LoaderCircle","createLucideIcon"],"mappings":";;;;;;GASK,MAACA,EAAa,CAAC,CAAC,OAAQ,CAAEC,EAAG,8BAA+BC,IAAK,YAChEC,EAAeC,EAAiB,gBAAiBJ"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from"../createLucideIcon.js";
|
|
2
2
|
/**
|
|
3
3
|
* @license lucide-react v0.525.0 - ISC
|
|
4
4
|
*
|
|
5
5
|
* This source code is licensed under the ISC license.
|
|
6
6
|
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/const
|
|
7
|
+
*/const c=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],r=e("search",c);export{c as __iconNode,r as default};
|
|
8
8
|
//# sourceMappingURL=search.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.js","sources":["../../../../../../../../../node_modules/.pnpm/lucide-react@0.525.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/search.js"],"sourcesContent":["/**\n * @license lucide-react v0.525.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [\n [\"path\", { d: \"m21 21-4.34-4.34\", key: \"14j7rj\" }],\n [\"circle\", { cx: \"11\", cy: \"11\", r: \"8\", key: \"4ej97u\" }]\n];\nconst Search = createLucideIcon(\"search\", __iconNode);\n\nexport { __iconNode, Search as default };\n//# sourceMappingURL=search.js.map\n"],"names":["__iconNode","d","key","cx","cy","r","createLucideIcon"],"mappings":";;;;;;GASK,MAACA,EAAa,CACjB,CAAC,OAAQ,CAAEC,EAAG,mBAAoBC,IAAK,WACvC,CAAC,SAAU,CAAEC,GAAI,KAAMC,GAAI,KAAMC,EAAG,IAAKH,IAAK,
|
|
1
|
+
{"version":3,"file":"search.js","sources":["../../../../../../../../../node_modules/.pnpm/lucide-react@0.525.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/search.js"],"sourcesContent":["/**\n * @license lucide-react v0.525.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [\n [\"path\", { d: \"m21 21-4.34-4.34\", key: \"14j7rj\" }],\n [\"circle\", { cx: \"11\", cy: \"11\", r: \"8\", key: \"4ej97u\" }]\n];\nconst Search = createLucideIcon(\"search\", __iconNode);\n\nexport { __iconNode, Search as default };\n//# sourceMappingURL=search.js.map\n"],"names":["__iconNode","d","key","cx","cy","r","Search","createLucideIcon"],"mappings":";;;;;;GASK,MAACA,EAAa,CACjB,CAAC,OAAQ,CAAEC,EAAG,mBAAoBC,IAAK,WACvC,CAAC,SAAU,CAAEC,GAAI,KAAMC,GAAI,KAAMC,EAAG,IAAKH,IAAK,YAE1CI,EAASC,EAAiB,SAAUP"}
|
|
@@ -4,5 +4,5 @@ import e from"../createLucideIcon.js";
|
|
|
4
4
|
*
|
|
5
5
|
* This source code is licensed under the ISC license.
|
|
6
6
|
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/const t=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]
|
|
7
|
+
*/const t=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],a=e("x",t);export{t as __iconNode,a as default};
|
|
8
8
|
//# sourceMappingURL=x.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"x.js","sources":["../../../../../../../../../node_modules/.pnpm/lucide-react@0.525.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/x.js"],"sourcesContent":["/**\n * @license lucide-react v0.525.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [\n [\"path\", { d: \"M18 6 6 18\", key: \"1bl5f8\" }],\n [\"path\", { d: \"m6 6 12 12\", key: \"d8bk6v\" }]\n];\nconst X = createLucideIcon(\"x\", __iconNode);\n\nexport { __iconNode, X as default };\n//# sourceMappingURL=x.js.map\n"],"names":["__iconNode","d","key","createLucideIcon"],"mappings":";;;;;;GASK,MAACA,EAAa,CACjB,CAAC,OAAQ,CAAEC,EAAG,aAAcC,IAAK,WACjC,CAAC,OAAQ,CAAED,EAAG,aAAcC,IAAK,
|
|
1
|
+
{"version":3,"file":"x.js","sources":["../../../../../../../../../node_modules/.pnpm/lucide-react@0.525.0_react@19.2.0/node_modules/lucide-react/dist/esm/icons/x.js"],"sourcesContent":["/**\n * @license lucide-react v0.525.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [\n [\"path\", { d: \"M18 6 6 18\", key: \"1bl5f8\" }],\n [\"path\", { d: \"m6 6 12 12\", key: \"d8bk6v\" }]\n];\nconst X = createLucideIcon(\"x\", __iconNode);\n\nexport { __iconNode, X as default };\n//# sourceMappingURL=x.js.map\n"],"names":["__iconNode","d","key","X","createLucideIcon"],"mappings":";;;;;;GASK,MAACA,EAAa,CACjB,CAAC,OAAQ,CAAEC,EAAG,aAAcC,IAAK,WACjC,CAAC,OAAQ,CAAED,EAAG,aAAcC,IAAK,YAE7BC,EAAIC,EAAiB,IAAKJ"}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
/* DateRangePicker Component Styles */
|
|
2
|
+
|
|
3
|
+
/* Wrapper */
|
|
4
|
+
.ihub-daterange-picker-wrapper {
|
|
5
|
+
position: relative;
|
|
6
|
+
width: 100%;
|
|
7
|
+
font-family: var(--Nunito);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/* Input row: two inputs with arrow separator */
|
|
11
|
+
.ihub-daterange-inputs {
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
gap: 8px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* Individual input container */
|
|
18
|
+
.ihub-daterange-input-container {
|
|
19
|
+
position: relative;
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
border: var(--borderDefault);
|
|
23
|
+
border-radius: 6px;
|
|
24
|
+
background: var(--White, #ffffff);
|
|
25
|
+
transition: all 0.2s ease;
|
|
26
|
+
min-height: 48px;
|
|
27
|
+
flex: 1;
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ihub-daterange-input-container:hover {
|
|
32
|
+
border-color: var(--DarkCyan, #00838f);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.ihub-daterange-input-container.active {
|
|
36
|
+
border-color: var(--DarkCyan, #00838f);
|
|
37
|
+
box-shadow: 0 0 0 0.2rem rgba(0, 131, 143, 0.25);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.ihub-daterange-input-container .ihub-datetime-input {
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* Arrow separator */
|
|
45
|
+
.ihub-daterange-separator-arrow {
|
|
46
|
+
font-size: 1.25rem;
|
|
47
|
+
color: var(--Rhythm, #69779b);
|
|
48
|
+
flex-shrink: 0;
|
|
49
|
+
user-select: none;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* Constrain dropdown width within the wider range wrapper */
|
|
53
|
+
.ihub-daterange-picker-wrapper .ihub-datetime-picker-dropdown {
|
|
54
|
+
right: auto;
|
|
55
|
+
max-width: 380px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* Phase indicator */
|
|
59
|
+
.ihub-daterange-phase-indicator {
|
|
60
|
+
padding: 10px 16px;
|
|
61
|
+
font-size: 0.8125rem;
|
|
62
|
+
font-weight: 600;
|
|
63
|
+
color: var(--DarkCyan, #00838f);
|
|
64
|
+
background: var(--Magnolia, #f4f3fe);
|
|
65
|
+
text-align: center;
|
|
66
|
+
font-family: var(--Nunito);
|
|
67
|
+
border-bottom: 1px solid var(--LightGray, #dee2e6);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/* Quick preset buttons */
|
|
71
|
+
.ihub-daterange-presets {
|
|
72
|
+
display: flex;
|
|
73
|
+
flex-wrap: wrap;
|
|
74
|
+
gap: 6px;
|
|
75
|
+
justify-content: center;
|
|
76
|
+
padding: 12px 16px;
|
|
77
|
+
border-top: 1px solid var(--LightGray, #dee2e6);
|
|
78
|
+
background: var(--Gray, #f4f4f4);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/* Range day styles */
|
|
82
|
+
.ihub-datetime-day.range-start {
|
|
83
|
+
background: var(--DarkCyan, #00838f);
|
|
84
|
+
color: var(--White, #ffffff);
|
|
85
|
+
border-radius: 6px 0 0 6px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.ihub-datetime-day.range-end {
|
|
89
|
+
background: var(--DarkCyan, #00838f);
|
|
90
|
+
color: var(--White, #ffffff);
|
|
91
|
+
border-radius: 0 6px 6px 0;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.ihub-datetime-day.range-start.range-end {
|
|
95
|
+
border-radius: 6px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.ihub-datetime-day.in-range {
|
|
99
|
+
background: rgba(0, 131, 143, 0.1);
|
|
100
|
+
color: var(--Gunmetal, #2c333a);
|
|
101
|
+
border-radius: 0;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.ihub-datetime-day.in-range:hover:not(:disabled) {
|
|
105
|
+
background: rgba(0, 131, 143, 0.2);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* Responsive: stack inputs vertically on mobile */
|
|
109
|
+
@media (max-width: 768px) {
|
|
110
|
+
.ihub-daterange-inputs {
|
|
111
|
+
flex-direction: column;
|
|
112
|
+
gap: 4px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.ihub-daterange-separator-arrow {
|
|
116
|
+
transform: rotate(90deg);
|
|
117
|
+
font-size: 1rem;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.ihub-daterange-input-container {
|
|
121
|
+
width: 100%;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.ihub-daterange-presets {
|
|
125
|
+
gap: 4px;
|
|
126
|
+
padding: 8px 12px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.ihub-daterange-presets .ihub-datetime-action-btn {
|
|
130
|
+
font-size: 0.6875rem;
|
|
131
|
+
padding: 5px 8px;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/* Dark mode via .DarkMode class */
|
|
136
|
+
.DarkMode .ihub-daterange-input-container {
|
|
137
|
+
background: var(--DarkBackground, #2d3748);
|
|
138
|
+
border-color: var(--DarkBorder, #4a5568);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.DarkMode .ihub-daterange-input-container:hover {
|
|
142
|
+
border-color: var(--DarkCyan, #00838f);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.DarkMode .ihub-daterange-input-container.active {
|
|
146
|
+
border-color: var(--DarkCyan, #00838f);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.DarkMode .ihub-daterange-separator-arrow {
|
|
150
|
+
color: var(--DarkText, #e2e8f0);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.DarkMode .ihub-daterange-phase-indicator {
|
|
154
|
+
background: var(--DarkSecondary, #4a5568);
|
|
155
|
+
color: var(--TiffanyBlue, #0fabbc);
|
|
156
|
+
border-color: var(--DarkBorder, #4a5568);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.DarkMode .ihub-daterange-presets {
|
|
160
|
+
background: var(--DarkSecondary, #4a5568);
|
|
161
|
+
border-color: var(--DarkBorder, #4a5568);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.DarkMode .ihub-datetime-day.in-range {
|
|
165
|
+
background: rgba(0, 131, 143, 0.2);
|
|
166
|
+
color: var(--DarkText, #e2e8f0);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.DarkMode .ihub-datetime-day.in-range:hover:not(:disabled) {
|
|
170
|
+
background: rgba(0, 131, 143, 0.35);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/* Focus indicators for accessibility */
|
|
174
|
+
.ihub-daterange-input-container:focus-within {
|
|
175
|
+
border-color: var(--DarkCyan, #00838f);
|
|
176
|
+
box-shadow: 0 0 0 0.2rem rgba(0, 131, 143, 0.25);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/* Reduced motion */
|
|
180
|
+
@media (prefers-reduced-motion: reduce) {
|
|
181
|
+
.ihub-daterange-input-container {
|
|
182
|
+
transition: none;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
@@ -492,6 +492,9 @@
|
|
|
492
492
|
}
|
|
493
493
|
|
|
494
494
|
.ihub-datetime-link {
|
|
495
|
+
background: none;
|
|
496
|
+
border: none;
|
|
497
|
+
padding: 0;
|
|
495
498
|
color: var(--Gunmetal, #2c333a);
|
|
496
499
|
cursor: pointer;
|
|
497
500
|
font-size: 0.875rem;
|
|
@@ -561,84 +564,82 @@
|
|
|
561
564
|
}
|
|
562
565
|
|
|
563
566
|
/* Dark mode support */
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
}
|
|
567
|
+
.DarkMode .ihub-datetime-picker-dropdown {
|
|
568
|
+
background: var(--DarkBackground, #2d3748);
|
|
569
|
+
border-color: var(--DarkBorder, #4a5568);
|
|
570
|
+
color: var(--DarkText, #e2e8f0);
|
|
571
|
+
}
|
|
570
572
|
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
573
|
+
.DarkMode .ihub-datetime-input-container {
|
|
574
|
+
background: var(--DarkBackground, #2d3748);
|
|
575
|
+
border-color: var(--DarkBorder, #4a5568);
|
|
576
|
+
color: var(--DarkText, #e2e8f0);
|
|
577
|
+
}
|
|
576
578
|
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
579
|
+
.DarkMode .ihub-datetime-input {
|
|
580
|
+
color: var(--DarkText, #e2e8f0);
|
|
581
|
+
}
|
|
580
582
|
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
583
|
+
.DarkMode .ihub-datetime-tabs {
|
|
584
|
+
background: var(--DarkSecondary, #4a5568);
|
|
585
|
+
border-color: var(--DarkBorder, #4a5568);
|
|
586
|
+
}
|
|
585
587
|
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
588
|
+
.DarkMode .ihub-datetime-tab {
|
|
589
|
+
color: var(--DarkText, #e2e8f0);
|
|
590
|
+
}
|
|
589
591
|
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
592
|
+
.DarkMode .ihub-datetime-tab.active {
|
|
593
|
+
background: var(--DarkBackground, #2d3748);
|
|
594
|
+
}
|
|
593
595
|
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
596
|
+
.DarkMode .ihub-datetime-day {
|
|
597
|
+
color: var(--DarkText, #e2e8f0);
|
|
598
|
+
}
|
|
597
599
|
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
600
|
+
.DarkMode .ihub-datetime-day:hover:not(:disabled) {
|
|
601
|
+
background: var(--DarkHover, #4a5568);
|
|
602
|
+
}
|
|
601
603
|
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
604
|
+
.DarkMode .ihub-datetime-time-input {
|
|
605
|
+
background: var(--DarkBackground, #2d3748);
|
|
606
|
+
border-color: var(--DarkBorder, #4a5568);
|
|
607
|
+
color: var(--DarkText, #e2e8f0);
|
|
608
|
+
}
|
|
607
609
|
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
610
|
+
.DarkMode .ihub-datetime-time-option {
|
|
611
|
+
background: var(--DarkBackground, #2d3748);
|
|
612
|
+
border-color: var(--DarkBorder, #4a5568);
|
|
613
|
+
color: var(--DarkText, #e2e8f0);
|
|
614
|
+
}
|
|
613
615
|
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
616
|
+
.DarkMode .ihub-datetime-time-option:hover {
|
|
617
|
+
background: var(--DarkHover, #4a5568);
|
|
618
|
+
}
|
|
617
619
|
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
620
|
+
.DarkMode .ihub-datetime-action-btn {
|
|
621
|
+
background: var(--DarkBackground, #2d3748);
|
|
622
|
+
border-color: var(--DarkBorder, #4a5568);
|
|
623
|
+
color: var(--DarkText, #e2e8f0);
|
|
624
|
+
}
|
|
623
625
|
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
626
|
+
.DarkMode .ihub-datetime-action-btn:hover {
|
|
627
|
+
background: var(--DarkHover, #4a5568);
|
|
628
|
+
}
|
|
627
629
|
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
630
|
+
.DarkMode .ihub-datetime-actions {
|
|
631
|
+
background: var(--DarkSecondary, #4a5568);
|
|
632
|
+
border-color: var(--DarkBorder, #4a5568);
|
|
633
|
+
}
|
|
632
634
|
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
635
|
+
.DarkMode .ihub-datetime-ampm-btn {
|
|
636
|
+
background: var(--DarkBackground, #2d3748);
|
|
637
|
+
border-color: var(--DarkBorder, #4a5568);
|
|
638
|
+
color: var(--DarkText, #e2e8f0);
|
|
639
|
+
}
|
|
638
640
|
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
}
|
|
641
|
+
.DarkMode .ihub-datetime-ampm-btn:hover {
|
|
642
|
+
background: var(--DarkHover, #4a5568);
|
|
642
643
|
}
|
|
643
644
|
|
|
644
645
|
/* Focus indicators for accessibility */
|
|
@@ -875,62 +876,60 @@
|
|
|
875
876
|
}
|
|
876
877
|
|
|
877
878
|
/* Dark mode support for separate fields */
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
}
|
|
879
|
+
.DarkMode .ihub-datetime-field {
|
|
880
|
+
background: var(--DarkBackground, #2d3748);
|
|
881
|
+
border-color: var(--DarkBorder, #4a5568);
|
|
882
|
+
color: var(--DarkText, #e2e8f0);
|
|
883
|
+
}
|
|
884
884
|
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
885
|
+
.DarkMode .ihub-datetime-field:focus {
|
|
886
|
+
border-color: var(--DarkCyan, #00838f);
|
|
887
|
+
box-shadow: 0 0 0 0.2rem rgba(0, 131, 143, 0.25);
|
|
888
|
+
}
|
|
889
889
|
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
890
|
+
.DarkMode .ihub-datetime-field:disabled {
|
|
891
|
+
background: var(--DarkSecondary, #4a5568);
|
|
892
|
+
color: var(--DarkTextDisabled, #a0aec0);
|
|
893
|
+
}
|
|
894
894
|
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
895
|
+
.DarkMode .ihub-datetime-field::placeholder {
|
|
896
|
+
color: var(--DarkTextSecondary, #a0aec0);
|
|
897
|
+
}
|
|
898
898
|
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
899
|
+
.DarkMode .ihub-datetime-separate-fields .ihub-datetime-separator {
|
|
900
|
+
color: var(--DarkText, #e2e8f0);
|
|
901
|
+
}
|
|
902
902
|
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
903
|
+
.DarkMode .ihub-datetime-ampm-toggle {
|
|
904
|
+
background: var(--DarkBackground, #2d3748);
|
|
905
|
+
border-color: var(--DarkBorder, #4a5568);
|
|
906
|
+
color: var(--DarkText, #e2e8f0);
|
|
907
|
+
}
|
|
908
908
|
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
909
|
+
.DarkMode .ihub-datetime-ampm-toggle:hover:not(:disabled) {
|
|
910
|
+
background: var(--DarkSecondary, #4a5568);
|
|
911
|
+
border-color: var(--DarkCyan, #00838f);
|
|
912
|
+
color: var(--DarkCyan, #00838f);
|
|
913
|
+
}
|
|
914
914
|
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
915
|
+
.DarkMode .ihub-datetime-ampm-toggle:focus {
|
|
916
|
+
border-color: var(--DarkCyan, #00838f);
|
|
917
|
+
box-shadow: 0 0 0 0.2rem rgba(0, 131, 143, 0.25);
|
|
918
|
+
}
|
|
919
919
|
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
920
|
+
.DarkMode .ihub-datetime-ampm-toggle:active {
|
|
921
|
+
background: var(--DarkCyan, #00838f);
|
|
922
|
+
color: var(--White, #ffffff);
|
|
923
|
+
}
|
|
924
924
|
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
925
|
+
.DarkMode .ihub-datetime-ampm-toggle:disabled {
|
|
926
|
+
background: var(--DarkSecondary, #4a5568);
|
|
927
|
+
color: var(--DarkTextDisabled, #a0aec0);
|
|
928
|
+
border-color: var(--DarkBorder, #4a5568);
|
|
929
|
+
}
|
|
930
930
|
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
}
|
|
931
|
+
.DarkMode .ihub-datetime-ampm-toggle:disabled:hover {
|
|
932
|
+
background: var(--DarkSecondary, #4a5568);
|
|
933
|
+
color: var(--DarkTextDisabled, #a0aec0);
|
|
934
|
+
border-color: var(--DarkBorder, #4a5568);
|
|
936
935
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* Improved Search Objects Component Styles */
|
|
2
2
|
|
|
3
3
|
.ihub-react-search {
|
|
4
|
-
max-width:
|
|
4
|
+
max-width: 600px;
|
|
5
|
+
max-height: 500px;
|
|
5
6
|
border: var(--borderDefault);
|
|
6
7
|
padding: 15px;
|
|
7
8
|
border-radius: 5px;
|
|
8
|
-
max-height: 400px;
|
|
9
9
|
overflow: auto;
|
|
10
10
|
position: relative;
|
|
11
11
|
}
|