@cloudparker/moldex.js 0.0.3 → 0.0.4
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/actions/badge.d.ts +1 -0
- package/dist/actions/badge.js +1 -0
- package/dist/actions/ripple.d.ts +1 -0
- package/dist/actions/ripple.js +1 -0
- package/dist/button/components/button/button.svelte +2 -1
- package/dist/button/components/button/button.svelte.d.ts +1 -0
- package/dist/button/components/button-list-item/button-list-item.svelte +2 -1
- package/dist/button/components/button-list-item/button-list-item.svelte.d.ts +1 -0
- package/dist/button/components/button-menu/button-menu.svelte +2 -1
- package/dist/button/components/button-menu/button-menu.svelte.d.ts +1 -0
- package/dist/common/components/drawer/drawer.svelte +2 -1
- package/dist/common/components/drawer/drawer.svelte.d.ts +1 -0
- package/dist/common/components/navbar/navbar.svelte +2 -1
- package/dist/common/components/navbar/navbar.svelte.d.ts +1 -0
- package/dist/common/components/spinner/spinner.svelte +2 -1
- package/dist/common/components/spinner/spinner.svelte.d.ts +1 -0
- package/dist/common/components/vertical-rule/verticcal-rule.svelte +2 -1
- package/dist/common/components/vertical-rule/verticcal-rule.svelte.d.ts +1 -0
- package/dist/dialog/components/dialog/dialog.svelte +2 -1
- package/dist/dialog/components/dialog/dialog.svelte.d.ts +1 -0
- package/dist/icon/components/icon/icon.svelte +2 -1
- package/dist/icon/components/icon/icon.svelte.d.ts +1 -0
- package/dist/tailwind.css +25 -0
- package/package.json +1 -1
package/dist/actions/badge.d.ts
CHANGED
package/dist/actions/badge.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../tailwind.css';
|
|
1
2
|
export function badge(node, { containerClassName = '', badgePositionClassName = 'top-0 right-0', badgeContainerClassName = '', badgeClassName = '', badgeBackgroundClassName = '', badgeText = '', hasBadgeBackground = true } = {}) {
|
|
2
3
|
let badgeBackElement = hasBadgeBackground ? `<span class="animate-ping absolute inline-flex h-full w-full rounded-full bg-sky-400 opacity-75 ${badgeBackgroundClassName}"></span>` : '';
|
|
3
4
|
const badge = document.createElement('span');
|
package/dist/actions/ripple.d.ts
CHANGED
package/dist/actions/ripple.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
<script lang="ts">import
|
|
1
|
+
<script lang="ts">import "../../../tailwind.css";
|
|
2
|
+
import { ripple } from "../../../actions/ripple.js";
|
|
2
3
|
import Spinner from "../../../common/components/spinner/spinner.svelte";
|
|
3
4
|
import Icon from "../../../icon/components/icon/icon.svelte";
|
|
4
5
|
let {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../tailwind.css';
|
|
1
2
|
import type { Snippet } from 'svelte';
|
|
2
3
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
3
4
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script context="module" lang="ts"></script>
|
|
2
2
|
|
|
3
|
-
<script lang="ts">import
|
|
3
|
+
<script lang="ts">import "../../../tailwind.css";
|
|
4
|
+
import { ripple } from "../../../actions/ripple.js";
|
|
4
5
|
import Icon from "../../../icon/components/icon/icon.svelte";
|
|
5
6
|
import {
|
|
6
7
|
mdiCheckCircle,
|
|
@@ -18,6 +18,7 @@ export type ListItemType = {
|
|
|
18
18
|
arrowIconPath?: string;
|
|
19
19
|
arrowClassName?: string;
|
|
20
20
|
};
|
|
21
|
+
import '../../../tailwind.css';
|
|
21
22
|
import type { Snippet } from 'svelte';
|
|
22
23
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
23
24
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../tailwind.css';
|
|
1
2
|
import type { Snippet } from 'svelte';
|
|
2
3
|
import type { ListItemType } from '../button-list-item/button-list-item.svelte';
|
|
3
4
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../tailwind.css';
|
|
1
2
|
import type { Snippet } from 'svelte';
|
|
2
3
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
3
4
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
<script lang="ts">import
|
|
1
|
+
<script lang="ts">import "../../../tailwind.css";
|
|
2
|
+
import Button from "../../../button/components/button/button.svelte";
|
|
2
3
|
import Icon from "../../../icon/components/icon/icon.svelte";
|
|
3
4
|
import { mdiMenu } from "../../../icon/services/icon-path-service.js";
|
|
4
5
|
let {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../tailwind.css';
|
|
1
2
|
import type { Snippet } from 'svelte';
|
|
2
3
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
3
4
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../tailwind.css';
|
|
1
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
2
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
3
4
|
$$bindings?: Bindings;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../tailwind.css';
|
|
1
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
2
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
3
4
|
$$bindings?: Bindings;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script lang="ts" context="module"></script>
|
|
2
2
|
|
|
3
|
-
<script lang="ts">import
|
|
3
|
+
<script lang="ts">import "../../../tailwind.css";
|
|
4
|
+
import Button from "../../../button/components/button/button.svelte";
|
|
4
5
|
import { mdiArrowLeft, mdiClose } from "../../../icon/services/icon-path-service.js";
|
|
5
6
|
let {
|
|
6
7
|
id = "",
|
|
@@ -52,6 +52,7 @@ export type DialogExportsType = {
|
|
|
52
52
|
setOkSpinner: (value: boolean) => void;
|
|
53
53
|
setOkDisabled: (value: boolean) => void;
|
|
54
54
|
};
|
|
55
|
+
import '../../../tailwind.css';
|
|
55
56
|
import type { Snippet } from 'svelte';
|
|
56
57
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
57
58
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import '../../../tailwind.css';
|
|
1
2
|
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
2
3
|
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
3
4
|
$$bindings?: Bindings;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@tailwind base;
|
|
2
|
+
@tailwind components;
|
|
3
|
+
@tailwind utilities;
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
@layer utilities {
|
|
7
|
+
@keyframes ripple-effect {
|
|
8
|
+
0% {
|
|
9
|
+
transform: scale(0);
|
|
10
|
+
opacity: 1;
|
|
11
|
+
}
|
|
12
|
+
100% {
|
|
13
|
+
transform: scale(4);
|
|
14
|
+
opacity: 0;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.ripple {
|
|
19
|
+
@apply absolute rounded-full bg-current;
|
|
20
|
+
transform: scale(0);
|
|
21
|
+
animation: ripple-effect 0.5s linear;
|
|
22
|
+
background-color: var(--ripple-color);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|