@finmars/ui 1.0.3 → 1.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/finmars-ui.css +1 -1
- package/dist/finmars-ui.es.js +64 -16
- package/dist/finmars-ui.umd.js +1 -1
- package/package.json +3 -1
package/dist/finmars-ui.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.finmars-button[data-v-66f97398]{text-transform:none;font-weight:600;border-radius:100px;display:inline-block;position:relative;cursor:pointer;min-height:36px;min-width:88px;line-height:36px;vertical-align:middle;align-items:center;text-align:center;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none;border:0;padding:0 6px;margin:6px 8px;background:transparent;color:currentColor;white-space:nowrap;font-weight:500;font-size:14px;font-style:inherit;font-variant:inherit;font-family:inherit;text-decoration:none;overflow:hidden;transition:box-shadow .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1)}.finmars-button.fm-raised[data-v-66f97398]{box-shadow:0 1px 3px 1px #00000026;box-shadow:0 1px 2px #0000004d}.finmars-button.signed-button[data-v-66f97398]{border-radius:initial}.finmars-button.fm-raised[data-v-66f97398]{color:var(--secondary-color);background-color:var(--outline-background-color)}.finmars-button.fm-primary.fm-raised[data-v-66f97398]{padding:0 15px;color:var(--on-primary-color);background-color:var(--primary-color);box-shadow:0 2px 5px #00000042}.finmars-button.fm-primary.fm-raised[data-v-66f97398]:not([disabled]):hover{opacity:.5;background-color:var(--primary-color)}.finmars-button.fm-primary.fm-raised:not([disabled]).md-focused[data-v-66f97398]{opacity:.5;background-color:var(--primary-color)}.finmars-button.fm-primary[data-v-66f97398]{color:var(--primary-color)}.finmars-button.outline-button[data-v-66f97398]{min-width:auto;max-height:36px;background-color:var(--outline-background-color);color:var(--primary-color);border:1px solid var(--outline-color)}.finmars-button.outline-button[data-v-66f97398]:not([disabled]):hover{opacity:.8}.finmars-button.outline-button span.material-icons[data-v-66f97398]{color:var(--primary-color)}.finmars-button.outline-button ng-md-icon svg[data-v-66f97398]{fill:var(--primary-color)}.finmars-button.align-button[data-v-66f97398]{background-color:var(--page-background-color);color:var(--secondary-color)}.finmars-button.align-button[data-v-66f97398]:hover{color:var(--primary-color)}.finmars-button.align-button.active[data-v-66f97398]{color:var(--primary-color);background-color:#f05a221a}button.fm-raised.md-warn.finmars-button[data-v-66f97398]{fill:var(--color-error)}.classifier-select-dialog-view[data-v-66f97398]{width:500px}.icon-btn-basics[data-v-66f97398]{background-color:transparent;border:none}.finmars-button.link-button[data-v-66f97398]{background-color:transparent;color:var(--primary-color);font-weight:500}.finmars-button.link-button[data-v-66f97398]:not([disabled]):hover{background-color:var(--state-active-background-color)}.icon-button-small[data-v-66f97398]{min-width:2px;margin:2px;height:32px;min-height:32px;box-sizing:border-box;font-size:12px;padding:0 8px;line-height:40px;color:var(--secondary-color)}.icon-button-small .material-icons[data-v-66f97398]{font-size:20px;line-height:1.5}.icon-button-small[data-v-66f97398]:not([disabled]):hover{background:var(--state-active-background-color);opacity:.8}.finmars-button.md-default-theme.fm-raised[data-v-66f97398]:not([disabled]):hover,.finmars-button.fm-raised[data-v-66f97398]:not([disabled]):hover{background-color:var(--state-active-background-color);opacity:.8}
|
|
1
|
+
.finmars-button[data-v-66f97398]{text-transform:none;font-weight:600;border-radius:100px;display:inline-block;position:relative;cursor:pointer;min-height:36px;min-width:88px;line-height:36px;vertical-align:middle;align-items:center;text-align:center;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none;border:0;padding:0 6px;margin:6px 8px;background:transparent;color:currentColor;white-space:nowrap;font-weight:500;font-size:14px;font-style:inherit;font-variant:inherit;font-family:inherit;text-decoration:none;overflow:hidden;transition:box-shadow .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1)}.finmars-button.fm-raised[data-v-66f97398]{box-shadow:0 1px 3px 1px #00000026;box-shadow:0 1px 2px #0000004d}.finmars-button.signed-button[data-v-66f97398]{border-radius:initial}.finmars-button.fm-raised[data-v-66f97398]{color:var(--secondary-color);background-color:var(--outline-background-color)}.finmars-button.fm-primary.fm-raised[data-v-66f97398]{padding:0 15px;color:var(--on-primary-color);background-color:var(--primary-color);box-shadow:0 2px 5px #00000042}.finmars-button.fm-primary.fm-raised[data-v-66f97398]:not([disabled]):hover{opacity:.5;background-color:var(--primary-color)}.finmars-button.fm-primary.fm-raised:not([disabled]).md-focused[data-v-66f97398]{opacity:.5;background-color:var(--primary-color)}.finmars-button.fm-primary[data-v-66f97398]{color:var(--primary-color)}.finmars-button.outline-button[data-v-66f97398]{min-width:auto;max-height:36px;background-color:var(--outline-background-color);color:var(--primary-color);border:1px solid var(--outline-color)}.finmars-button.outline-button[data-v-66f97398]:not([disabled]):hover{opacity:.8}.finmars-button.outline-button span.material-icons[data-v-66f97398]{color:var(--primary-color)}.finmars-button.outline-button ng-md-icon svg[data-v-66f97398]{fill:var(--primary-color)}.finmars-button.align-button[data-v-66f97398]{background-color:var(--page-background-color);color:var(--secondary-color)}.finmars-button.align-button[data-v-66f97398]:hover{color:var(--primary-color)}.finmars-button.align-button.active[data-v-66f97398]{color:var(--primary-color);background-color:#f05a221a}button.fm-raised.md-warn.finmars-button[data-v-66f97398]{fill:var(--color-error)}.classifier-select-dialog-view[data-v-66f97398]{width:500px}.icon-btn-basics[data-v-66f97398]{background-color:transparent;border:none}.finmars-button.link-button[data-v-66f97398]{background-color:transparent;color:var(--primary-color);font-weight:500}.finmars-button.link-button[data-v-66f97398]:not([disabled]):hover{background-color:var(--state-active-background-color)}.icon-button-small[data-v-66f97398]{min-width:2px;margin:2px;height:32px;min-height:32px;box-sizing:border-box;font-size:12px;padding:0 8px;line-height:40px;color:var(--secondary-color)}.icon-button-small .material-icons[data-v-66f97398]{font-size:20px;line-height:1.5}.icon-button-small[data-v-66f97398]:not([disabled]):hover{background:var(--state-active-background-color);opacity:.8}.finmars-button.md-default-theme.fm-raised[data-v-66f97398]:not([disabled]):hover,.finmars-button.fm-raised[data-v-66f97398]:not([disabled]):hover{background-color:var(--state-active-background-color);opacity:.8}.finmars-card[data-v-8bb198ee]{border:1px solid var(--table-border-color);border-radius:8px;margin:.5rem;background:var(--card-background-color);box-shadow:0 1px 3px #0003,0 1px 1px #00000024,0 2px 1px -1px #0000001f}.finmars-card-header[data-v-b3a54d83],.finmars-card-content[data-v-ac4feb68],.finmars-card-footer[data-v-512039df]{padding:.5rem}
|
package/dist/finmars-ui.es.js
CHANGED
|
@@ -1,24 +1,72 @@
|
|
|
1
|
-
import { reactive as
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
for (const [
|
|
5
|
-
r
|
|
6
|
-
return
|
|
7
|
-
},
|
|
1
|
+
import { reactive as i, openBlock as o, createElementBlock as d, mergeProps as _, renderSlot as n } from "vue";
|
|
2
|
+
const c = (e, t) => {
|
|
3
|
+
const s = e.__vccOpts || e;
|
|
4
|
+
for (const [r, a] of t)
|
|
5
|
+
s[r] = a;
|
|
6
|
+
return s;
|
|
7
|
+
}, u = {
|
|
8
8
|
name: "finmars-button",
|
|
9
9
|
props: {},
|
|
10
|
-
setup(
|
|
11
|
-
|
|
10
|
+
setup(e, { emit: t }) {
|
|
11
|
+
e = i(e);
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
|
-
function
|
|
15
|
-
return
|
|
16
|
-
class: ["finmars-button",
|
|
17
|
-
},
|
|
18
|
-
|
|
14
|
+
function $(e, t, s, r, a, f) {
|
|
15
|
+
return o(), d("button", _({
|
|
16
|
+
class: ["finmars-button", e.$attrs.class]
|
|
17
|
+
}, e.$attrs), [
|
|
18
|
+
n(e.$slots, "default", {}, void 0, !0)
|
|
19
19
|
], 16);
|
|
20
20
|
}
|
|
21
|
-
const
|
|
21
|
+
const E = /* @__PURE__ */ c(u, [["render", $], ["__scopeId", "data-v-66f97398"]]), m = {}, p = { class: "finmars-card" };
|
|
22
|
+
function l(e, t) {
|
|
23
|
+
return o(), d("div", p, [
|
|
24
|
+
n(e.$slots, "header", {}, void 0, !0),
|
|
25
|
+
n(e.$slots, "default", {}, void 0, !0),
|
|
26
|
+
n(e.$slots, "footer", {}, void 0, !0)
|
|
27
|
+
]);
|
|
28
|
+
}
|
|
29
|
+
const H = /* @__PURE__ */ c(m, [["render", l], ["__scopeId", "data-v-8bb198ee"]]), h = {
|
|
30
|
+
name: "finmars-card-header",
|
|
31
|
+
props: {},
|
|
32
|
+
setup(e, { emit: t }) {
|
|
33
|
+
e = i(e);
|
|
34
|
+
}
|
|
35
|
+
}, v = { class: "finmars-card-header" };
|
|
36
|
+
function b(e, t, s, r, a, f) {
|
|
37
|
+
return o(), d("div", v, [
|
|
38
|
+
n(e.$slots, "default", {}, void 0, !0)
|
|
39
|
+
]);
|
|
40
|
+
}
|
|
41
|
+
const O = /* @__PURE__ */ c(h, [["render", b], ["__scopeId", "data-v-b3a54d83"]]), F = {
|
|
42
|
+
name: "finmars-card-content",
|
|
43
|
+
props: {},
|
|
44
|
+
setup(e, { emit: t }) {
|
|
45
|
+
e = i(e);
|
|
46
|
+
}
|
|
47
|
+
}, C = { class: "finmars-card-content" };
|
|
48
|
+
function I(e, t, s, r, a, f) {
|
|
49
|
+
return o(), d("div", C, [
|
|
50
|
+
n(e.$slots, "default", {}, void 0, !0)
|
|
51
|
+
]);
|
|
52
|
+
}
|
|
53
|
+
const P = /* @__PURE__ */ c(F, [["render", I], ["__scopeId", "data-v-ac4feb68"]]), k = {
|
|
54
|
+
name: "finmars-card-footer",
|
|
55
|
+
props: {},
|
|
56
|
+
setup(e, { emit: t }) {
|
|
57
|
+
e = i(e);
|
|
58
|
+
}
|
|
59
|
+
}, B = { class: "finmars-card-footer" };
|
|
60
|
+
function g(e, t, s, r, a, f) {
|
|
61
|
+
return o(), d("div", B, [
|
|
62
|
+
n(e.$slots, "default", {}, void 0, !0)
|
|
63
|
+
]);
|
|
64
|
+
}
|
|
65
|
+
const S = /* @__PURE__ */ c(k, [["render", g], ["__scopeId", "data-v-512039df"]]);
|
|
22
66
|
export {
|
|
23
|
-
|
|
67
|
+
E as FinmarsButton,
|
|
68
|
+
H as FinmarsCard,
|
|
69
|
+
P as FinmarsCardContent,
|
|
70
|
+
S as FinmarsCardFooter,
|
|
71
|
+
O as FinmarsCardHeader
|
|
24
72
|
};
|
package/dist/finmars-ui.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(n
|
|
1
|
+
(function(t,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],n):(t=typeof globalThis<"u"?globalThis:t||self,n(t.FinmarsUI={},t.Vue))})(this,function(t,n){"use strict";const o=(e,r)=>{const s=e.__vccOpts||e;for(const[a,d]of r)s[a]=d;return s},i={name:"finmars-button",props:{},setup(e,{emit:r}){e=n.reactive(e)}};function f(e,r,s,a,d,c){return n.openBlock(),n.createElementBlock("button",n.mergeProps({class:["finmars-button",e.$attrs.class]},e.$attrs),[n.renderSlot(e.$slots,"default",{},void 0,!0)],16)}const l=o(i,[["render",f],["__scopeId","data-v-66f97398"]]),_={},m={class:"finmars-card"};function p(e,r){return n.openBlock(),n.createElementBlock("div",m,[n.renderSlot(e.$slots,"header",{},void 0,!0),n.renderSlot(e.$slots,"default",{},void 0,!0),n.renderSlot(e.$slots,"footer",{},void 0,!0)])}const $=o(_,[["render",p],["__scopeId","data-v-8bb198ee"]]),u={name:"finmars-card-header",props:{},setup(e,{emit:r}){e=n.reactive(e)}},h={class:"finmars-card-header"};function F(e,r,s,a,d,c){return n.openBlock(),n.createElementBlock("div",h,[n.renderSlot(e.$slots,"default",{},void 0,!0)])}const B=o(u,[["render",F],["__scopeId","data-v-b3a54d83"]]),k={name:"finmars-card-content",props:{},setup(e,{emit:r}){e=n.reactive(e)}},C={class:"finmars-card-content"};function b(e,r,s,a,d,c){return n.openBlock(),n.createElementBlock("div",C,[n.renderSlot(e.$slots,"default",{},void 0,!0)])}const S=o(k,[["render",b],["__scopeId","data-v-ac4feb68"]]),I={name:"finmars-card-footer",props:{},setup(e,{emit:r}){e=n.reactive(e)}},y={class:"finmars-card-footer"};function E(e,r,s,a,d,c){return n.openBlock(),n.createElementBlock("div",y,[n.renderSlot(e.$slots,"default",{},void 0,!0)])}const g=o(I,[["render",E],["__scopeId","data-v-512039df"]]);t.FinmarsButton=l,t.FinmarsCard=$,t.FinmarsCardContent=S,t.FinmarsCardFooter=g,t.FinmarsCardHeader=B,Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finmars/ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -26,7 +26,9 @@
|
|
|
26
26
|
"@storybook/addon-links": "^8.0.9",
|
|
27
27
|
"@storybook/addon-toolbars": "^8.0.9",
|
|
28
28
|
"@storybook/blocks": "^8.0.9",
|
|
29
|
+
"@storybook/manager-api": "^8.0.9",
|
|
29
30
|
"@storybook/test": "^8.0.9",
|
|
31
|
+
"@storybook/theming": "^8.0.9",
|
|
30
32
|
"@storybook/vue3": "^8.0.9",
|
|
31
33
|
"@storybook/vue3-vite": "^8.0.9",
|
|
32
34
|
"sass": "^1.75.0",
|