@appartmint/tsm-types 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/auth.cjs.js +1 -0
  2. package/dist/auth.d.ts +4 -0
  3. package/dist/auth.esm.js +0 -0
  4. package/dist/components/partial/background.cjs.js +1 -0
  5. package/dist/components/partial/background.d.ts +5 -0
  6. package/dist/components/partial/background.esm.js +0 -0
  7. package/dist/components/partial/more-details.cjs.js +1 -0
  8. package/dist/components/partial/more-details.d.ts +5 -0
  9. package/dist/components/partial/more-details.esm.js +0 -0
  10. package/dist/components/ui/button/button.cjs.js +1 -0
  11. package/dist/components/ui/button/button.d.ts +1 -0
  12. package/dist/components/ui/button/button.esm.js +0 -0
  13. package/dist/components/ui/button/dropdown.cjs.js +1 -0
  14. package/dist/components/ui/button/dropdown.d.ts +5 -0
  15. package/dist/components/ui/button/dropdown.esm.js +0 -0
  16. package/dist/components/ui/loading/bar.cjs.js +1 -0
  17. package/dist/components/ui/loading/bar.d.ts +4 -0
  18. package/dist/components/ui/loading/bar.esm.js +0 -0
  19. package/dist/components/ui/loading/spinner.cjs.js +1 -0
  20. package/dist/components/ui/loading/spinner.d.ts +4 -0
  21. package/dist/components/ui/loading/spinner.esm.js +0 -0
  22. package/dist/components/ui/text/icon.cjs.js +1 -0
  23. package/dist/components/ui/text/icon.d.ts +2 -0
  24. package/dist/components/ui/text/icon.esm.js +0 -0
  25. package/dist/components/ui/text/title.d.ts +11 -0
  26. package/dist/components/ui/tooltip.cjs.js +1 -0
  27. package/dist/components/ui/tooltip.d.ts +5 -0
  28. package/dist/components/ui/tooltip.esm.js +0 -0
  29. package/dist/components/widget/accordion.cjs.js +1 -0
  30. package/dist/components/widget/accordion.d.ts +3 -0
  31. package/dist/components/widget/accordion.esm.js +0 -0
  32. package/dist/components/widget/pages.cjs.js +1 -0
  33. package/dist/components/widget/pages.d.ts +6 -0
  34. package/dist/components/widget/pages.esm.js +0 -0
  35. package/dist/components/widget/table.cjs.js +1 -0
  36. package/dist/components/widget/table.d.ts +9 -0
  37. package/dist/components/widget/table.esm.js +0 -0
  38. package/dist/media.cjs.js +1 -0
  39. package/dist/media.d.ts +9 -0
  40. package/dist/media.esm.js +0 -0
  41. package/dist/props.cjs.js +1 -0
  42. package/dist/props.d.ts +17 -0
  43. package/dist/props.esm.js +0 -0
  44. package/dist/route.cjs.js +1 -0
  45. package/dist/route.d.ts +6 -0
  46. package/dist/route.esm.js +0 -0
  47. package/dist/theme.cjs.js +1 -0
  48. package/dist/theme.d.ts +5 -0
  49. package/dist/theme.esm.js +0 -0
  50. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});
package/dist/auth.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ export type MintAuthSession = {
2
+ status: 'configuring' | 'authenticated' | 'unauthenticated';
3
+ groups: string[];
4
+ };
File without changes
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});
@@ -0,0 +1,5 @@
1
+ export type PartialBackgroundData = {
2
+ src?: string;
3
+ position?: string;
4
+ transform?: string;
5
+ };
File without changes
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});
@@ -0,0 +1,5 @@
1
+ export type PartialMoreDetailsProps = {
2
+ id?: string;
3
+ createdAt?: string;
4
+ updatedAt?: string;
5
+ };
File without changes
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});
@@ -0,0 +1 @@
1
+ export type ButtonType = 'button' | 'submit' | 'reset';
File without changes
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});
@@ -0,0 +1,5 @@
1
+ export type UiDropdownItem = {
2
+ href?: string;
3
+ label: string;
4
+ onClick?: () => void;
5
+ };
File without changes
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});
@@ -0,0 +1,4 @@
1
+ import { PropsWithClasses } from '../../../props';
2
+ export type UiLoadingBarProps = PropsWithClasses & {
3
+ progress?: number;
4
+ };
File without changes
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});
@@ -0,0 +1,4 @@
1
+ import { PropsWithClasses } from '../../../props';
2
+ export type UiLoadingSpinnerProps = PropsWithClasses & {
3
+ label?: string;
4
+ };
File without changes
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});
@@ -0,0 +1,2 @@
1
+ import { PropsWithClasses } from '../../../props';
2
+ export type UiIconProps = PropsWithClasses;
File without changes
@@ -1 +1,12 @@
1
1
  export type TitleNum = 1 | 2 | 3 | 4 | 5 | 6;
2
+ export type HeadingTag = `h${TitleNum}`;
3
+ export type UiTitleProps = {
4
+ level?: TitleNum;
5
+ size?: TitleNum;
6
+ title?: string;
7
+ subtitle?: string;
8
+ sanitize?: boolean;
9
+ };
10
+ export type PropsWithTitle = {
11
+ title?: UiTitleProps;
12
+ };
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});
@@ -0,0 +1,5 @@
1
+ import { PropsWithBoxPosition } from '../../props';
2
+ export type UiTooltipContentProps = PropsWithBoxPosition & {
3
+ text?: string;
4
+ icon?: string;
5
+ };
File without changes
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});
@@ -0,0 +1,3 @@
1
+ export type WidgetAccordionAction = {
2
+ active: number;
3
+ };
File without changes
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});
@@ -0,0 +1,6 @@
1
+ import { PropsWithClasses } from '../../props';
2
+ export type WidgetPagesProps = PropsWithClasses & {
3
+ page?: number;
4
+ pageCount?: number;
5
+ onPageChange?: (page: number) => void;
6
+ };
File without changes
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});
@@ -0,0 +1,9 @@
1
+ import { PropsWithClasses } from '../../props';
2
+ export type WidgetTableColumn = {
3
+ key: string;
4
+ title: string;
5
+ };
6
+ export type WidgetTableProps = PropsWithClasses & {
7
+ columns?: WidgetTableColumn[];
8
+ rows?: Record<string, string>[];
9
+ };
File without changes
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});
@@ -0,0 +1,9 @@
1
+ export type MediaFileNode = {
2
+ path?: string;
3
+ size?: number;
4
+ fetched?: boolean;
5
+ progress?: number;
6
+ error?: boolean;
7
+ files?: Record<string, MediaFileNode>;
8
+ };
9
+ export type MediaBucket = 'mint-public-storage' | 'mint-private-storage';
File without changes
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});
@@ -0,0 +1,17 @@
1
+ import { GridNum } from './components/section/grid';
2
+ import { Side } from './side';
3
+ export type PropsWithId = {
4
+ id?: string;
5
+ };
6
+ export type PropsWithClasses = {
7
+ classes?: string[];
8
+ };
9
+ export type PropsWithSanitized = {
10
+ sanitized?: boolean;
11
+ };
12
+ export type PropsWithBoxPosition = {
13
+ position?: Side;
14
+ };
15
+ export type PropsWithColumns = {
16
+ columns?: GridNum;
17
+ };
File without changes
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});
@@ -0,0 +1,6 @@
1
+ export type RouteProps = {
2
+ id?: string;
3
+ title: string;
4
+ href: string;
5
+ items?: RouteProps[];
6
+ };
File without changes
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});
@@ -0,0 +1,5 @@
1
+ export type Theme = 'system' | 'dark' | 'light';
2
+ export type ThemeProps = {
3
+ theme: Theme;
4
+ setTheme: (theme: Theme) => void;
5
+ };
File without changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@appartmint/tsm-types",
3
3
  "author": "App Art Mint LLC",
4
- "version": "1.1.0",
4
+ "version": "1.1.1",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "description": "TypeScript Types from App Art Mint LLC",