@digital-realty/ix-notifications 1.2.3 → 1.3.0-alpha.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationState.js","sourceRoot":"","sources":["../../../src/state/NotificationState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAC1C,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,EACZ,UAAU,EACV,eAAe,GAChB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAO9C,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,YAAY,GACb,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EACL,iCAAiC,EACjC,sCAAsC,EACtC,uCAAuC,EACvC,kCAAkC,EAClC,wCAAwC,EACxC,+BAA+B,GAChC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,iBAAiB;IACrB;QAyBA,eAAU,GAAY,KAAK,CAAC;QAE5B,cAAS,GAAc,EAAE,MAAM,EAAE,IAAI,EAAe,CAAC;QAErD,eAAU,GAAW,EAAE,CAAC;QAExB,oBAAe,GAAW,EAAE,CAAC;QAEtB,iBAAY,GAAG,GAAG,EAAE;YACzB,IAAI,CAAC,SAAS,GAAG,IAAI,SAAS,CAAC;gBAC7B,kBAAkB,EAAE,IAAI,CAAC,UAAU;gBACnC,kBAAkB,EAAE,GAAG,EAAE,CAAC,oBAAoB,CAAC,IAAI,CAAC,eAAe,CAAC;aAC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,OAAO,KAAK,CAAC;YACf,CAAC,CAAC,CAAA,CAAC;YACL,OAAO,IAAI,CAAC;QACd,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC;IAEO,KAAK,CAAC,kBAAkB,CAAC,EAAW;;QAC1C,IAAI,MAAM,GAAG,KAAK,CAAC;QACnB,IAAI,EAAE,EAAE,CAAC;YACP,MAAM,CAAA,MAAA,IAAI,CAAC,SAAS,0CAAE,gBAAgB,CACnC,uBAAuB,CAAC,wCAAwC,CAAC,EAAE,CAAC,EACpE,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE;gBAChB,WAAW,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC;gBACtB,MAAM,GAAG,KAAK,CAAC;YACjB,CAAC,EACA,IAAI,CAAC,GAAG,EAAE;gBACT,MAAM,GAAG,IAAI,CAAC;YAChB,CAAC,CAAC,CAAA,CAAC;QACP,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IAEO,6BAA6B;QACnC,IAAI,IAAI,CAAC,uBAAuB,GAAG,CAAC;YAAE,IAAI,CAAC,uBAAuB,IAAI,CAAC,CAAC;IAC1E,CAAC;CACF;AAED,MAAM,kBAAkB,GAAG,IAAI,iBAAiB,EAAE,CAAC;AAEnD,OAAO,EAAE,kBAAkB,EAAE,CAAC","sourcesContent":["import { makeAutoObservable } from 'mobx';\nimport {\n clearPersistedStore,\n getPersistedStore,\n hydrateStore,\n isHydrated,\n makePersistable,\n} from 'mobx-persist-store';\nimport { parse } from 'date-fns/parse.js';\nimport { subDays } from 'date-fns/subDays.js';\n\nimport { ApiCallResult, Notification } from '../models/notification.js';\nimport {\n NotificationFilters,\n NotificationDateFilters,\n} from '../constants/notification-types.js';\nimport {\n NotificationGroups,\n NotificationStatus,\n DefaultDateFormat,\n DefaultDisplayDays,\n ApiCallState,\n} from '../constants/notifications.js';\nimport { ApiClient } from '../services/api-client.js';\nimport {\n mapNotificationDataToNotification,\n mapNotificationResponseToNotifications,\n mapParametersToPatchNotificationRequest,\n mapParametersToNotificationRequest,\n mapParametersToDeleteNotificationRequest,\n getNextPageCursorfromQueryParam,\n} from '../services/notifications-service.js';\nimport { handleError } from '../helper/errors.js';\nimport { getUserAuthorization } from '../services/app-service.js';\n\nclass NotificationState {\n constructor() {\n makeAutoObservable(this);\n makePersistable(this, {\n name: 'notification-state',\n properties: ['notificationFilters', 'nextPageCursor'],\n storage: window.localStorage,\n });\n }\n\n get isHydrated() {\n return isHydrated(this);\n }\n\n async hydrateStore() {\n await hydrateStore(this);\n }\n\n async clearStoredData() {\n await clearPersistedStore(this);\n }\n\n async getStoredData() {\n return getPersistedStore(this);\n }\n\n showDrawer: boolean = false;\n\n apiClient: ApiClient = { noInit: true } as ApiClient;\n\n baseApiUrl: string = '';\n\n localStorageKey: string = '';\n\n public NewApiClient = () => {\n this.apiClient = new ApiClient({\n NotificationApiUrl: this.baseApiUrl,\n getAuthorizationFn: () => getUserAuthorization(this.localStorageKey),\n });\n\n this.getNotifications();\n };\n\n public ConstructApiClient() {\n return this.apiClient.noInit ? this.NewApiClient() : this.apiClient;\n }\n\n nextPageCursor: string | undefined = '';\n\n submissionResult?: any;\n\n notifications: Notification[] = [] as Notification[];\n\n unreadNotificationCount: number = 0;\n\n notificationFilters: NotificationFilters = {\n SHOW_PLANNED_MAINTENANCE: true,\n SHOW_SERVICE_TICKETS: true,\n SHOW_DCIM_ALERTS: true,\n } as NotificationFilters;\n\n selectedNotification: Notification = {\n id: '',\n resourceType: NotificationGroups.PLANNED_MAINTENANCE,\n subGroup: '',\n subject: '',\n resourceId: '',\n locations: [],\n createdAt: '',\n accountNumber: '',\n createdBy: '',\n status: NotificationStatus.READ,\n } as Notification;\n\n dateFilters: NotificationDateFilters = {\n FROM_DATE: subDays(new Date(), DefaultDisplayDays),\n TO_DATE: new Date(),\n } as NotificationDateFilters;\n\n async clearStoredNotificationsData() {\n this.notifications = [] as Notification[];\n this.unreadNotificationCount = 0;\n this.nextPageCursor = '';\n this.apiClient = { noInit: true } as ApiClient;\n }\n\n public async setNotificationReadStatus(Id: String): Promise<Boolean> {\n const result = await this.setNotificationAsRead(Id.toString());\n if ((await result) === true) {\n this.ReduceUnreadNotificationCount();\n const itemIndex = this.notifications.findIndex(item => item.id === Id);\n this.notifications[itemIndex].status = NotificationStatus.READ;\n this.selectedNotification = this.notifications[itemIndex];\n }\n return result;\n }\n\n public async setNotificationDeleted(Id: String): Promise<ApiCallResult> {\n const result = await this.DeleteNotification(Id.toString());\n if (result === true) {\n const deleteditem = this.notifications.find(item => item.id === Id);\n if (deleteditem?.status === 'unread')\n this.ReduceUnreadNotificationCount();\n\n const itemIndex = this.notifications.findIndex(item => item.id === Id);\n this.notifications.splice(itemIndex, 1);\n }\n\n return {\n State: result === true ? ApiCallState.SUCCESS : ApiCallState.ERROR,\n Message:\n result === true\n ? 'Successfully deleted the notification'\n : 'Error while deleting the notification',\n } as ApiCallResult;\n }\n\n public setNotificationDateFilter(fromDate?: string, toDate?: string) {\n if (fromDate !== undefined) {\n this.dateFilters.FROM_DATE = parse(\n fromDate,\n DefaultDateFormat,\n new Date()\n );\n } else {\n this.dateFilters.FROM_DATE = undefined;\n }\n\n if (toDate !== undefined) {\n this.dateFilters.TO_DATE = parse(toDate, DefaultDateFormat, new Date());\n } else {\n this.dateFilters.TO_DATE = undefined;\n }\n }\n\n public setNotificationFilter(Id: String | undefined, value: Boolean) {\n switch (Id) {\n case NotificationGroups.PLANNED_MAINTENANCE:\n this.notificationFilters.SHOW_PLANNED_MAINTENANCE = value;\n break;\n case NotificationGroups.SERVICE_TICKETS:\n this.notificationFilters.SHOW_SERVICE_TICKETS = value;\n break;\n case NotificationGroups.DCIM_ALERTS:\n this.notificationFilters.SHOW_DCIM_ALERTS = value;\n break;\n default:\n }\n }\n\n public async getNotifications() {\n let result;\n // this.nextPageCursor === undefined means Next page not available\n if (this.nextPageCursor !== undefined) {\n result = await this.apiClient?.notificationsApi\n .getNotificationsRaw(\n mapParametersToNotificationRequest(\n getNextPageCursorfromQueryParam(this.nextPageCursor)\n )\n )\n .catch((e: any) => {\n handleError(e, false);\n return undefined;\n });\n\n if (result) {\n const responseResult = await result?.value();\n this.notifications =\n this.nextPageCursor === ''\n ? mapNotificationResponseToNotifications(responseResult?.items)\n : this.notifications.concat(\n mapNotificationResponseToNotifications(responseResult?.items)\n );\n this.nextPageCursor =\n responseResult?.next !== undefined ? responseResult?.next : undefined;\n\n this.unreadNotificationCount =\n result.raw.headers.get('x-total-unread-count') !== null &&\n result.raw.headers.get('x-total-unread-count') !== undefined\n ? (result.raw.headers.get(\n 'x-total-unread-count'\n ) as unknown as number)\n : 0; // eslint-disable-line\n }\n }\n }\n\n public async getNotificationsById(id?: string) {\n let result;\n if (id) {\n result = await this.apiClient?.notificationsApi\n .getNotificationsById({ id })\n .catch((e: any) => {\n handleError(e, false);\n return undefined;\n });\n }\n if (result) {\n this.selectedNotification = mapNotificationDataToNotification(result);\n }\n }\n\n private async setNotificationAsRead(id?: string): Promise<Boolean> {\n if (id) {\n await this.apiClient?.notificationsApi\n .patchNotificationsById(\n mapParametersToPatchNotificationRequest(id, 'read')\n )\n .catch((e: any) => {\n handleError(e, false);\n return false;\n });\n return true;\n }\n return false;\n }\n\n private async DeleteNotification(id?: string): Promise<boolean> {\n let result = false;\n if (id) {\n await this.apiClient?.notificationsApi\n .deleteNotificationsById(mapParametersToDeleteNotificationRequest(id))\n .catch((e: any) => {\n handleError(e, false);\n result = false;\n })\n .then(() => {\n result = true;\n });\n }\n return result;\n }\n\n private ReduceUnreadNotificationCount() {\n if (this.unreadNotificationCount > 0) this.unreadNotificationCount -= 1;\n }\n}\n\nconst NotificationsState = new NotificationState();\n\nexport { NotificationsState };\n"]}
1
+ {"version":3,"file":"NotificationState.js","sourceRoot":"","sources":["../../../src/state/NotificationState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAC1C,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,EAC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,EAAE;gBAChB,WAAW,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC;gBACtB,MAAM,GAAG,KAAK,CAAC;YACjB,CAAC,EACA,IAAI,CAAC,GAAG,EAAE;gBACT,MAAM,GAAG,IAAI,CAAC;YAChB,CAAC,CAAC,CAAA,CAAC;QACP,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IAEO,6BAA6B;QACnC,IAAI,IAAI,CAAC,uBAAuB,GAAG,CAAC;YAAE,IAAI,CAAC,uBAAuB,IAAI,CAAC,CAAC;IAC1E,CAAC;CACF;AAED,MAAM,kBAAkB,GAAG,IAAI,iBAAiB,EAAE,CAAC;AAEnD,OAAO,EAAE,kBAAkB,EAAE,CAAC","sourcesContent":["import { makeAutoObservable } from 'mobx';\nimport {\n clearPersistedStore,\n getPersistedStore,\n hydrateStore,\n isHydrated,\n makePersistable,\n} from 'mobx-persist-store';\nimport { parse, subDays } from 'date-fns';\n\nimport { ApiCallResult, Notification } from '../models/notification.js';\nimport {\n NotificationFilters,\n NotificationDateFilters,\n} from '../constants/notification-types.js';\nimport {\n NotificationGroups,\n NotificationStatus,\n DefaultDateFormat,\n DefaultDisplayDays,\n ApiCallState,\n} from '../constants/notifications.js';\nimport { ApiClient } from '../services/api-client.js';\nimport {\n mapNotificationDataToNotification,\n mapNotificationResponseToNotifications,\n mapParametersToPatchNotificationRequest,\n mapParametersToNotificationRequest,\n mapParametersToDeleteNotificationRequest,\n getNextPageCursorfromQueryParam,\n} from '../services/notifications-service.js';\nimport { handleError } from '../helper/errors.js';\nimport { getUserAuthorization } from '../services/app-service.js';\n\nclass NotificationState {\n constructor() {\n makeAutoObservable(this);\n makePersistable(this, {\n name: 'notification-state',\n properties: ['notificationFilters', 'nextPageCursor'],\n storage: window.localStorage,\n });\n }\n\n get isHydrated() {\n return isHydrated(this);\n }\n\n async hydrateStore() {\n await hydrateStore(this);\n }\n\n async clearStoredData() {\n await clearPersistedStore(this);\n }\n\n async getStoredData() {\n return getPersistedStore(this);\n }\n\n showDrawer: boolean = false;\n\n apiClient: ApiClient = { noInit: true } as ApiClient;\n\n baseApiUrl: string = '';\n\n localStorageKey: string = '';\n\n public NewApiClient = () => {\n this.apiClient = new ApiClient({\n NotificationApiUrl: this.baseApiUrl,\n getAuthorizationFn: () => getUserAuthorization(this.localStorageKey),\n });\n\n this.getNotifications();\n };\n\n public ConstructApiClient() {\n return this.apiClient.noInit ? this.NewApiClient() : this.apiClient;\n }\n\n nextPageCursor: string | undefined = '';\n\n submissionResult?: any;\n\n notifications: Notification[] = [] as Notification[];\n\n unreadNotificationCount: number = 0;\n\n notificationFilters: NotificationFilters = {\n SHOW_PLANNED_MAINTENANCE: true,\n SHOW_SERVICE_TICKETS: true,\n SHOW_DCIM_ALERTS: true,\n } as NotificationFilters;\n\n selectedNotification: Notification = {\n id: '',\n resourceType: NotificationGroups.PLANNED_MAINTENANCE,\n subGroup: '',\n subject: '',\n resourceId: '',\n locations: [],\n createdAt: '',\n accountNumber: '',\n createdBy: '',\n status: NotificationStatus.READ,\n } as Notification;\n\n dateFilters: NotificationDateFilters = {\n FROM_DATE: subDays(new Date(), DefaultDisplayDays),\n TO_DATE: new Date(),\n } as NotificationDateFilters;\n\n async clearStoredNotificationsData() {\n this.notifications = [] as Notification[];\n this.unreadNotificationCount = 0;\n this.nextPageCursor = '';\n this.apiClient = { noInit: true } as ApiClient;\n }\n\n public async setNotificationReadStatus(Id: String): Promise<Boolean> {\n const result = await this.setNotificationAsRead(Id.toString());\n if ((await result) === true) {\n this.ReduceUnreadNotificationCount();\n const itemIndex = this.notifications.findIndex(item => item.id === Id);\n this.notifications[itemIndex].status = NotificationStatus.READ;\n this.selectedNotification = this.notifications[itemIndex];\n }\n return result;\n }\n\n public async setNotificationDeleted(Id: String): Promise<ApiCallResult> {\n const result = await this.DeleteNotification(Id.toString());\n if (result === true) {\n const deleteditem = this.notifications.find(item => item.id === Id);\n if (deleteditem?.status === 'unread')\n this.ReduceUnreadNotificationCount();\n\n const itemIndex = this.notifications.findIndex(item => item.id === Id);\n this.notifications.splice(itemIndex, 1);\n }\n\n return {\n State: result === true ? ApiCallState.SUCCESS : ApiCallState.ERROR,\n Message:\n result === true\n ? 'Successfully deleted the notification'\n : 'Error while deleting the notification',\n } as ApiCallResult;\n }\n\n public setNotificationDateFilter(fromDate?: string, toDate?: string) {\n if (fromDate !== undefined) {\n this.dateFilters.FROM_DATE = parse(\n fromDate,\n DefaultDateFormat,\n new Date()\n );\n } else {\n this.dateFilters.FROM_DATE = undefined;\n }\n\n if (toDate !== undefined) {\n this.dateFilters.TO_DATE = parse(toDate, DefaultDateFormat, new Date());\n } else {\n this.dateFilters.TO_DATE = undefined;\n }\n }\n\n public setNotificationFilter(Id: String | undefined, value: Boolean) {\n switch (Id) {\n case NotificationGroups.PLANNED_MAINTENANCE:\n this.notificationFilters.SHOW_PLANNED_MAINTENANCE = value;\n break;\n case NotificationGroups.SERVICE_TICKETS:\n this.notificationFilters.SHOW_SERVICE_TICKETS = value;\n break;\n case NotificationGroups.DCIM_ALERTS:\n this.notificationFilters.SHOW_DCIM_ALERTS = value;\n break;\n default:\n }\n }\n\n public async getNotifications() {\n let result;\n // this.nextPageCursor === undefined means Next page not available\n if (this.nextPageCursor !== undefined) {\n result = await this.apiClient?.notificationsApi\n .getNotificationsRaw(\n mapParametersToNotificationRequest(\n getNextPageCursorfromQueryParam(this.nextPageCursor)\n )\n )\n .catch((e: any) => {\n handleError(e, false);\n return undefined;\n });\n\n if (result) {\n const responseResult = await result?.value();\n this.notifications =\n this.nextPageCursor === ''\n ? mapNotificationResponseToNotifications(responseResult?.items)\n : this.notifications.concat(\n mapNotificationResponseToNotifications(responseResult?.items)\n );\n this.nextPageCursor =\n responseResult?.next !== undefined ? responseResult?.next : undefined;\n\n this.unreadNotificationCount =\n result.raw.headers.get('x-total-unread-count') !== null &&\n result.raw.headers.get('x-total-unread-count') !== undefined\n ? (result.raw.headers.get(\n 'x-total-unread-count'\n ) as unknown as number)\n : 0; // eslint-disable-line\n }\n }\n }\n\n public async getNotificationsById(id?: string) {\n let result;\n if (id) {\n result = await this.apiClient?.notificationsApi\n .getNotificationsById({ id })\n .catch((e: any) => {\n handleError(e, false);\n return undefined;\n });\n }\n if (result) {\n this.selectedNotification = mapNotificationDataToNotification(result);\n }\n }\n\n private async setNotificationAsRead(id?: string): Promise<Boolean> {\n if (id) {\n await this.apiClient?.notificationsApi\n .patchNotificationsById(\n mapParametersToPatchNotificationRequest(id, 'read')\n )\n .catch((e: any) => {\n handleError(e, false);\n return false;\n });\n return true;\n }\n return false;\n }\n\n private async DeleteNotification(id?: string): Promise<boolean> {\n let result = false;\n if (id) {\n await this.apiClient?.notificationsApi\n .deleteNotificationsById(mapParametersToDeleteNotificationRequest(id))\n .catch((e: any) => {\n handleError(e, false);\n result = false;\n })\n .then(() => {\n result = true;\n });\n }\n return result;\n }\n\n private ReduceUnreadNotificationCount() {\n if (this.unreadNotificationCount > 0) this.unreadNotificationCount -= 1;\n }\n}\n\nconst NotificationsState = new NotificationState();\n\nexport { NotificationsState };\n"]}
package/dist/src/tw.js CHANGED
@@ -588,6 +588,14 @@ video {
588
588
  text-transform:var(--text-caption-transform);
589
589
  }
590
590
 
591
+ .visible {
592
+ visibility: visible;
593
+ }
594
+
595
+ .collapse {
596
+ visibility: collapse;
597
+ }
598
+
591
599
  .static {
592
600
  position: static;
593
601
  }
@@ -651,10 +659,22 @@ video {
651
659
  margin-right: 1rem;
652
660
  }
653
661
 
662
+ .block {
663
+ display: block;
664
+ }
665
+
654
666
  .flex {
655
667
  display: flex;
656
668
  }
657
669
 
670
+ .table {
671
+ display: table;
672
+ }
673
+
674
+ .contents {
675
+ display: contents;
676
+ }
677
+
658
678
  .hidden {
659
679
  display: none;
660
680
  }
@@ -667,14 +687,30 @@ video {
667
687
  width: 580px;
668
688
  }
669
689
 
690
+ .flex-grow {
691
+ flex-grow: 1;
692
+ }
693
+
670
694
  .grow {
671
695
  flex-grow: 1;
672
696
  }
673
697
 
698
+ .border-collapse {
699
+ border-collapse: collapse;
700
+ }
701
+
702
+ .transform {
703
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
704
+ }
705
+
674
706
  .cursor-pointer {
675
707
  cursor: pointer;
676
708
  }
677
709
 
710
+ .resize {
711
+ resize: both;
712
+ }
713
+
678
714
  .flex-row {
679
715
  flex-direction: row;
680
716
  }
@@ -723,6 +759,10 @@ video {
723
759
  border-radius: 9999px;
724
760
  }
725
761
 
762
+ .border {
763
+ border-width: 1px;
764
+ }
765
+
726
766
  .border-b {
727
767
  border-bottom-width: 1px;
728
768
  }
@@ -772,6 +812,10 @@ video {
772
812
  padding-left: 0.25rem;
773
813
  }
774
814
 
815
+ .pl-3 {
816
+ padding-left: 0.75rem;
817
+ }
818
+
775
819
  .pl-3\\.5 {
776
820
  padding-left: 0.875rem;
777
821
  }
@@ -842,6 +886,14 @@ video {
842
886
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
843
887
  }
844
888
 
889
+ .underline {
890
+ text-decoration-line: underline;
891
+ }
892
+
893
+ .outline {
894
+ outline-style: solid;
895
+ }
896
+
845
897
  .filter {
846
898
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
847
899
  }
@@ -1 +1 @@
1
- {"version":3,"file":"tw.js","sourceRoot":"","sources":["../../src/tw.ts"],"names":[],"mappings":"AACI,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAi3B5B,CAAA","sourcesContent":["\n import { css } from \"lit\";\n export const TWStyles = css` *, ::before, ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n\n::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n\n/*\n! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com\n*/\n\n/*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box;\n /* 1 */\n border-width: 0;\n /* 2 */\n border-style: solid;\n /* 2 */\n border-color: #e5e7eb;\n /* 2 */\n}\n\n::before,\n::after {\n --tw-content: '';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured sans font-family by default.\n5. Use the user's configured sans font-feature-settings by default.\n6. Use the user's configured sans font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\n\nhtml,\n:host {\n line-height: 1.5;\n /* 1 */\n -webkit-text-size-adjust: 100%;\n /* 2 */\n -moz-tab-size: 4;\n /* 3 */\n -o-tab-size: 4;\n tab-size: 4;\n /* 3 */\n font-family: ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n /* 4 */\n font-feature-settings: normal;\n /* 5 */\n font-variation-settings: normal;\n /* 6 */\n -webkit-tap-highlight-color: transparent;\n /* 7 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from html so users can set them as a class directly on the html element.\n*/\n\nbody {\n margin: 0;\n /* 1 */\n line-height: inherit;\n /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\nhr {\n height: 0;\n /* 1 */\n color: inherit;\n /* 2 */\n border-top-width: 1px;\n /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user's configured mono font-family by default.\n2. Use the user's configured mono font-feature-settings by default.\n3. Use the user's configured mono font-variation-settings by default.\n4. Correct the odd em font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n /* 1 */\n font-feature-settings: normal;\n /* 2 */\n font-variation-settings: normal;\n /* 3 */\n font-size: 1em;\n /* 4 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/*\nPrevent sub and sup elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\ntable {\n text-indent: 0;\n /* 1 */\n border-color: inherit;\n /* 2 */\n border-collapse: collapse;\n /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit;\n /* 1 */\n font-feature-settings: inherit;\n /* 1 */\n font-variation-settings: inherit;\n /* 1 */\n font-size: 100%;\n /* 1 */\n font-weight: inherit;\n /* 1 */\n line-height: inherit;\n /* 1 */\n letter-spacing: inherit;\n /* 1 */\n color: inherit;\n /* 1 */\n margin: 0;\n /* 2 */\n padding: 0;\n /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\nbutton,\ninput:where([type='button']),\ninput:where([type='reset']),\ninput:where([type='submit']) {\n -webkit-appearance: button;\n /* 1 */\n background-color: transparent;\n /* 2 */\n background-image: none;\n /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n:-moz-focusring {\n outline: auto;\n}\n\n/*\nRemove the additional :invalid styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n[type='search'] {\n -webkit-appearance: textfield;\n /* 1 */\n outline-offset: -2px;\n /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to inherit in Safari.\n*/\n\n::-webkit-file-upload-button {\n -webkit-appearance: button;\n /* 1 */\n font: inherit;\n /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nlegend {\n padding: 0;\n}\n\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nReset default styling for dialogs.\n*/\n\ndialog {\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\ntextarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\n\ninput::-moz-placeholder, textarea::-moz-placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n\n:disabled {\n cursor: default;\n}\n\n/*\n1. Make replaced elements display: block by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add vertical-align: middle to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block;\n /* 1 */\n vertical-align: middle;\n /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n\n[hidden]:where(:not([hidden=\"until-found\"])) {\n display: none;\n}\n\n.dlr-text-default,:host,:host :root,:root,html {\n font-family: var(--root-primary-font);\n font-size: var(--text-default-size);\n line-height: var(--text-default-line-height);\n letter-spacing: var(--text-default-letter-spacing);\n font-weight: var(--text-default-weight);\n -webkit-text-decoration:var(--text-default-decoration);\n text-decoration:var(--text-default-decoration);\n text-transform:var(--text-default-transform);\n}\n\n.dlr-text-heading {\n font-family: var(--root-secondary-font);\n font-size: var(--text-heading-size);\n line-height: var(--text-heading-line-height);\n letter-spacing: var(--text-heading-letter-spacing);\n font-weight: var(--text-heading-weight);\n -webkit-text-decoration:var(--text-heading-decoration);\n text-decoration:var(--text-heading-decoration);\n text-transform:var(--text-heading-transform);\n}\n\n.dlr-text-caption {\n font-family: var(--root-primary-font);\n font-size: var(--text-caption-size);\n line-height: var(--text-caption-line-height);\n letter-spacing: var(--text-caption-letter-spacing);\n font-weight: var(--text-caption-weight);\n -webkit-text-decoration:var(--text-caption-decoration);\n text-decoration:var(--text-caption-decoration);\n text-transform:var(--text-caption-transform);\n}\n\n.static {\n position: static;\n}\n\n.absolute {\n position: absolute;\n}\n\n.relative {\n position: relative;\n}\n\n.-start-0 {\n inset-inline-start: -0px;\n}\n\n.z-50 {\n z-index: 50;\n}\n\n.z-\\\\[9999\\\\] {\n z-index: 9999;\n}\n\n.m-0 {\n margin: 0px;\n}\n\n.m-4 {\n margin: 1rem;\n}\n\n.-mx-4 {\n margin-left: -1rem;\n margin-right: -1rem;\n}\n\n.my-2 {\n margin-top: 0.5rem;\n margin-bottom: 0.5rem;\n}\n\n.my-4 {\n margin-top: 1rem;\n margin-bottom: 1rem;\n}\n\n.-mt-2 {\n margin-top: -0.5rem;\n}\n\n.mb-4 {\n margin-bottom: 1rem;\n}\n\n.ml-14 {\n margin-left: 3.5rem;\n}\n\n.mr-4 {\n margin-right: 1rem;\n}\n\n.flex {\n display: flex;\n}\n\n.hidden {\n display: none;\n}\n\n.w-\\\\[560px\\\\] {\n width: 560px;\n}\n\n.w-\\\\[580px\\\\] {\n width: 580px;\n}\n\n.grow {\n flex-grow: 1;\n}\n\n.cursor-pointer {\n cursor: pointer;\n}\n\n.flex-row {\n flex-direction: row;\n}\n\n.flex-col {\n flex-direction: column;\n}\n\n.items-center {\n align-items: center;\n}\n\n.justify-end {\n justify-content: flex-end;\n}\n\n.justify-between {\n justify-content: space-between;\n}\n\n.gap-2 {\n gap: 0.5rem;\n}\n\n.gap-3 {\n gap: 0.75rem;\n}\n\n.whitespace-nowrap {\n white-space: nowrap;\n}\n\n.text-wrap {\n text-wrap: wrap;\n}\n\n.text-balance {\n text-wrap: balance;\n}\n\n.rounded {\n border-radius: 0.25rem;\n}\n\n.rounded-full {\n border-radius: 9999px;\n}\n\n.border-b {\n border-bottom-width: 1px;\n}\n\n.border-l-3 {\n border-left-width: 3px;\n}\n\n.border-outline {\n border-color: var(--cp-neutral-blue-12p);\n}\n\n.border-success {\n border-color: var(--cp-success-50);\n}\n\n.border-transparent {\n border-color: transparent;\n}\n\n.fill-primary {\n fill: var(--cp-dlr-blue-50);\n}\n\n.p-1 {\n padding: 0.25rem;\n}\n\n.p-2 {\n padding: 0.5rem;\n}\n\n.p-4 {\n padding: 1rem;\n}\n\n.py-3 {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n\n.pb-0 {\n padding-bottom: 0px;\n}\n\n.pl-1 {\n padding-left: 0.25rem;\n}\n\n.pl-3\\\\.5 {\n padding-left: 0.875rem;\n}\n\n.pl-4 {\n padding-left: 1rem;\n}\n\n.pr-1 {\n padding-right: 0.25rem;\n}\n\n.pt-4 {\n padding-top: 1rem;\n}\n\n.text-center {\n text-align: center;\n}\n\n.text-right {\n text-align: right;\n}\n\n.align-middle {\n vertical-align: middle;\n}\n\n.text-2xl {\n font-size: 1.5rem;\n line-height: 2rem;\n}\n\n.text-base {\n font-size: 1rem;\n line-height: 1.5rem;\n}\n\n.text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n\n.text-xl {\n font-size: 1.25rem;\n line-height: 1.75rem;\n}\n\n.text-xs {\n font-size: 0.75rem;\n line-height: 1rem;\n}\n\n.font-bold {\n font-weight: 700;\n}\n\n.font-normal {\n font-weight: 400;\n}\n\n.text-on-surface-disabled {\n color: var(--cp-neutral-blue-50p);\n}\n\n.text-white {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.filter {\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n.transition {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.hover\\\\:bg-\\\\[rgba\\\\(0\\\\2c 0\\\\2c 0\\\\2c 0\\\\.04\\\\)\\\\]:hover {\n background-color: rgba(0,0,0,0.04);\n}\n\n.hover\\\\:bg-primary-subtle:hover {\n background-color: var(--cp-dlr-blue-10p);\n}\n\n@media (min-width: 600px) {\n .sm\\\\:flex-col {\n flex-direction: column;\n }\n\n .md\\\\:flex-col {\n flex-direction: column;\n }\n}\n\n@media (min-width: 1200px) {\n .lg\\\\:flex-col {\n flex-direction: column;\n }\n\n .xl\\\\:flex-row {\n flex-direction: row;\n }\n} `\n "]}
1
+ {"version":3,"file":"tw.js","sourceRoot":"","sources":["../../src/tw.ts"],"names":[],"mappings":"AACI,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAq6B5B,CAAA","sourcesContent":["\n import { css } from \"lit\";\n export const TWStyles = css` *, ::before, ::after {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n\n::backdrop {\n --tw-border-spacing-x: 0;\n --tw-border-spacing-y: 0;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-rotate: 0;\n --tw-skew-x: 0;\n --tw-skew-y: 0;\n --tw-scale-x: 1;\n --tw-scale-y: 1;\n --tw-pan-x: ;\n --tw-pan-y: ;\n --tw-pinch-zoom: ;\n --tw-scroll-snap-strictness: proximity;\n --tw-gradient-from-position: ;\n --tw-gradient-via-position: ;\n --tw-gradient-to-position: ;\n --tw-ordinal: ;\n --tw-slashed-zero: ;\n --tw-numeric-figure: ;\n --tw-numeric-spacing: ;\n --tw-numeric-fraction: ;\n --tw-ring-inset: ;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-color: rgb(59 130 246 / 0.5);\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-colored: 0 0 #0000;\n --tw-blur: ;\n --tw-brightness: ;\n --tw-contrast: ;\n --tw-grayscale: ;\n --tw-hue-rotate: ;\n --tw-invert: ;\n --tw-saturate: ;\n --tw-sepia: ;\n --tw-drop-shadow: ;\n --tw-backdrop-blur: ;\n --tw-backdrop-brightness: ;\n --tw-backdrop-contrast: ;\n --tw-backdrop-grayscale: ;\n --tw-backdrop-hue-rotate: ;\n --tw-backdrop-invert: ;\n --tw-backdrop-opacity: ;\n --tw-backdrop-saturate: ;\n --tw-backdrop-sepia: ;\n --tw-contain-size: ;\n --tw-contain-layout: ;\n --tw-contain-paint: ;\n --tw-contain-style: ;\n}\n\n/*\n! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com\n*/\n\n/*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box;\n /* 1 */\n border-width: 0;\n /* 2 */\n border-style: solid;\n /* 2 */\n border-color: #e5e7eb;\n /* 2 */\n}\n\n::before,\n::after {\n --tw-content: '';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured sans font-family by default.\n5. Use the user's configured sans font-feature-settings by default.\n6. Use the user's configured sans font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\n\nhtml,\n:host {\n line-height: 1.5;\n /* 1 */\n -webkit-text-size-adjust: 100%;\n /* 2 */\n -moz-tab-size: 4;\n /* 3 */\n -o-tab-size: 4;\n tab-size: 4;\n /* 3 */\n font-family: ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n /* 4 */\n font-feature-settings: normal;\n /* 5 */\n font-variation-settings: normal;\n /* 6 */\n -webkit-tap-highlight-color: transparent;\n /* 7 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from html so users can set them as a class directly on the html element.\n*/\n\nbody {\n margin: 0;\n /* 1 */\n line-height: inherit;\n /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\nhr {\n height: 0;\n /* 1 */\n color: inherit;\n /* 2 */\n border-top-width: 1px;\n /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user's configured mono font-family by default.\n2. Use the user's configured mono font-feature-settings by default.\n3. Use the user's configured mono font-variation-settings by default.\n4. Correct the odd em font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n /* 1 */\n font-feature-settings: normal;\n /* 2 */\n font-variation-settings: normal;\n /* 3 */\n font-size: 1em;\n /* 4 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/*\nPrevent sub and sup elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\ntable {\n text-indent: 0;\n /* 1 */\n border-color: inherit;\n /* 2 */\n border-collapse: collapse;\n /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit;\n /* 1 */\n font-feature-settings: inherit;\n /* 1 */\n font-variation-settings: inherit;\n /* 1 */\n font-size: 100%;\n /* 1 */\n font-weight: inherit;\n /* 1 */\n line-height: inherit;\n /* 1 */\n letter-spacing: inherit;\n /* 1 */\n color: inherit;\n /* 1 */\n margin: 0;\n /* 2 */\n padding: 0;\n /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\nbutton,\ninput:where([type='button']),\ninput:where([type='reset']),\ninput:where([type='submit']) {\n -webkit-appearance: button;\n /* 1 */\n background-color: transparent;\n /* 2 */\n background-image: none;\n /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n:-moz-focusring {\n outline: auto;\n}\n\n/*\nRemove the additional :invalid styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n[type='search'] {\n -webkit-appearance: textfield;\n /* 1 */\n outline-offset: -2px;\n /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to inherit in Safari.\n*/\n\n::-webkit-file-upload-button {\n -webkit-appearance: button;\n /* 1 */\n font: inherit;\n /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nlegend {\n padding: 0;\n}\n\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nReset default styling for dialogs.\n*/\n\ndialog {\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\ntextarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\n\ninput::-moz-placeholder, textarea::-moz-placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n\n:disabled {\n cursor: default;\n}\n\n/*\n1. Make replaced elements display: block by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add vertical-align: middle to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block;\n /* 1 */\n vertical-align: middle;\n /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n\n[hidden]:where(:not([hidden=\"until-found\"])) {\n display: none;\n}\n\n.dlr-text-default,:host,:host :root,:root,html {\n font-family: var(--root-primary-font);\n font-size: var(--text-default-size);\n line-height: var(--text-default-line-height);\n letter-spacing: var(--text-default-letter-spacing);\n font-weight: var(--text-default-weight);\n -webkit-text-decoration:var(--text-default-decoration);\n text-decoration:var(--text-default-decoration);\n text-transform:var(--text-default-transform);\n}\n\n.dlr-text-heading {\n font-family: var(--root-secondary-font);\n font-size: var(--text-heading-size);\n line-height: var(--text-heading-line-height);\n letter-spacing: var(--text-heading-letter-spacing);\n font-weight: var(--text-heading-weight);\n -webkit-text-decoration:var(--text-heading-decoration);\n text-decoration:var(--text-heading-decoration);\n text-transform:var(--text-heading-transform);\n}\n\n.dlr-text-caption {\n font-family: var(--root-primary-font);\n font-size: var(--text-caption-size);\n line-height: var(--text-caption-line-height);\n letter-spacing: var(--text-caption-letter-spacing);\n font-weight: var(--text-caption-weight);\n -webkit-text-decoration:var(--text-caption-decoration);\n text-decoration:var(--text-caption-decoration);\n text-transform:var(--text-caption-transform);\n}\n\n.visible {\n visibility: visible;\n}\n\n.collapse {\n visibility: collapse;\n}\n\n.static {\n position: static;\n}\n\n.absolute {\n position: absolute;\n}\n\n.relative {\n position: relative;\n}\n\n.-start-0 {\n inset-inline-start: -0px;\n}\n\n.z-50 {\n z-index: 50;\n}\n\n.z-\\\\[9999\\\\] {\n z-index: 9999;\n}\n\n.m-0 {\n margin: 0px;\n}\n\n.m-4 {\n margin: 1rem;\n}\n\n.-mx-4 {\n margin-left: -1rem;\n margin-right: -1rem;\n}\n\n.my-2 {\n margin-top: 0.5rem;\n margin-bottom: 0.5rem;\n}\n\n.my-4 {\n margin-top: 1rem;\n margin-bottom: 1rem;\n}\n\n.-mt-2 {\n margin-top: -0.5rem;\n}\n\n.mb-4 {\n margin-bottom: 1rem;\n}\n\n.ml-14 {\n margin-left: 3.5rem;\n}\n\n.mr-4 {\n margin-right: 1rem;\n}\n\n.block {\n display: block;\n}\n\n.flex {\n display: flex;\n}\n\n.table {\n display: table;\n}\n\n.contents {\n display: contents;\n}\n\n.hidden {\n display: none;\n}\n\n.w-\\\\[560px\\\\] {\n width: 560px;\n}\n\n.w-\\\\[580px\\\\] {\n width: 580px;\n}\n\n.flex-grow {\n flex-grow: 1;\n}\n\n.grow {\n flex-grow: 1;\n}\n\n.border-collapse {\n border-collapse: collapse;\n}\n\n.transform {\n transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));\n}\n\n.cursor-pointer {\n cursor: pointer;\n}\n\n.resize {\n resize: both;\n}\n\n.flex-row {\n flex-direction: row;\n}\n\n.flex-col {\n flex-direction: column;\n}\n\n.items-center {\n align-items: center;\n}\n\n.justify-end {\n justify-content: flex-end;\n}\n\n.justify-between {\n justify-content: space-between;\n}\n\n.gap-2 {\n gap: 0.5rem;\n}\n\n.gap-3 {\n gap: 0.75rem;\n}\n\n.whitespace-nowrap {\n white-space: nowrap;\n}\n\n.text-wrap {\n text-wrap: wrap;\n}\n\n.text-balance {\n text-wrap: balance;\n}\n\n.rounded {\n border-radius: 0.25rem;\n}\n\n.rounded-full {\n border-radius: 9999px;\n}\n\n.border {\n border-width: 1px;\n}\n\n.border-b {\n border-bottom-width: 1px;\n}\n\n.border-l-3 {\n border-left-width: 3px;\n}\n\n.border-outline {\n border-color: var(--cp-neutral-blue-12p);\n}\n\n.border-success {\n border-color: var(--cp-success-50);\n}\n\n.border-transparent {\n border-color: transparent;\n}\n\n.fill-primary {\n fill: var(--cp-dlr-blue-50);\n}\n\n.p-1 {\n padding: 0.25rem;\n}\n\n.p-2 {\n padding: 0.5rem;\n}\n\n.p-4 {\n padding: 1rem;\n}\n\n.py-3 {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n\n.pb-0 {\n padding-bottom: 0px;\n}\n\n.pl-1 {\n padding-left: 0.25rem;\n}\n\n.pl-3 {\n padding-left: 0.75rem;\n}\n\n.pl-3\\\\.5 {\n padding-left: 0.875rem;\n}\n\n.pl-4 {\n padding-left: 1rem;\n}\n\n.pr-1 {\n padding-right: 0.25rem;\n}\n\n.pt-4 {\n padding-top: 1rem;\n}\n\n.text-center {\n text-align: center;\n}\n\n.text-right {\n text-align: right;\n}\n\n.align-middle {\n vertical-align: middle;\n}\n\n.text-2xl {\n font-size: 1.5rem;\n line-height: 2rem;\n}\n\n.text-base {\n font-size: 1rem;\n line-height: 1.5rem;\n}\n\n.text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem;\n}\n\n.text-xl {\n font-size: 1.25rem;\n line-height: 1.75rem;\n}\n\n.text-xs {\n font-size: 0.75rem;\n line-height: 1rem;\n}\n\n.font-bold {\n font-weight: 700;\n}\n\n.font-normal {\n font-weight: 400;\n}\n\n.text-on-surface-disabled {\n color: var(--cp-neutral-blue-50p);\n}\n\n.text-white {\n --tw-text-opacity: 1;\n color: rgb(255 255 255 / var(--tw-text-opacity, 1));\n}\n\n.underline {\n text-decoration-line: underline;\n}\n\n.outline {\n outline-style: solid;\n}\n\n.filter {\n filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);\n}\n\n.transition {\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;\n transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-duration: 150ms;\n}\n\n.hover\\\\:bg-\\\\[rgba\\\\(0\\\\2c 0\\\\2c 0\\\\2c 0\\\\.04\\\\)\\\\]:hover {\n background-color: rgba(0,0,0,0.04);\n}\n\n.hover\\\\:bg-primary-subtle:hover {\n background-color: var(--cp-dlr-blue-10p);\n}\n\n@media (min-width: 600px) {\n .sm\\\\:flex-col {\n flex-direction: column;\n }\n\n .md\\\\:flex-col {\n flex-direction: column;\n }\n}\n\n@media (min-width: 1200px) {\n .lg\\\\:flex-col {\n flex-direction: column;\n }\n\n .xl\\\\:flex-row {\n flex-direction: row;\n }\n} `\n "]}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent ix-notifications following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "Digital Realty",
6
- "version": "1.2.3",
6
+ "version": "1.3.0-alpha.0",
7
7
  "type": "module",
8
8
  "main": "dist/src/index.js",
9
9
  "module": "dist/src/index.js",
@@ -41,7 +41,6 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "@adobe/lit-mobx": "^2.2.2",
44
- "@digital-realty/ix-app-logic": "^1.2.3",
45
44
  "@digital-realty/ix-button": "^3.4.1",
46
45
  "@digital-realty/ix-date": "^1.2.1",
47
46
  "@digital-realty/ix-dialog": "^1.2.1",
@@ -70,6 +69,7 @@
70
69
  },
71
70
  "devDependencies": {
72
71
  "@babel/preset-env": "^7.16.4",
72
+ "@digital-realty/ix-app-logic":"1.2.2-alpha.0",
73
73
  "@custom-elements-manifest/analyzer": "^0.4.17",
74
74
  "@open-wc/eslint-config": "^9.2.1",
75
75
  "@openapitools/openapi-generator-cli": "^2.18.3",
@@ -150,6 +150,5 @@
150
150
  "package.json",
151
151
  "README.md",
152
152
  "LICENSE"
153
- ],
154
- "gitHead": "9f72a311832d23f42cb1e7036c6e2129d892497b"
153
+ ]
155
154
  }