Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit 85309f6

Browse files
authored
docs: rename ogcio with gov-ie naming conventions (#212)
1 parent 69115a6 commit 85309f6

File tree

15 files changed

+134
-133
lines changed

15 files changed

+134
-133
lines changed

.storybook/preview.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export const parameters = {
139139
'Install using precompiled files',
140140
'Import CSS, assets and JavaScript',
141141
'Configure components with JavaScript',
142-
'Localise OGCIO-DS',
142+
'Localise Gov IE DS',
143143
'Support Internet Explorer 8',
144144
'JavaScript API Reference',
145145
'Sass API Reference',

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
1-
# OGCIO Design System
1+
# Gov IE Design System
22

3-
OGCIO-DS contains the code you need to start building a user interface for government platforms and services.
3+
Gov IE DS contains the code you need to start building a user interface for government platforms and services.
44

5-
See live examples of OGCIO components, and guidance on when to use them in your service, in the [OGCIO Design System](https://ogcio.github.io/ogcio-ds/).
5+
See live examples of Gov IE components, and guidance on when to use them in your service, in the [Gov IE Design System](https://ogcio.github.io/ogcio-ds/).
66

77
## Contact the team
88

9-
If you want to know more about OGCIO-DS, you can go to the [Contact us](https://www.design-system.ogcio.gov.ie/contact/) page.
9+
If you want to know more about Gov IE Design System, you can go to the [Contact us](https://www.design-system.ogcio.gov.ie/contact/) page.
1010

1111
## Quick start
1212

13-
There are 2 ways to start using OGCIO-DS components in your app.
13+
There are 2 ways to start using Gov IE Design System components in your app.
1414

15-
Once installed, you will be able to use the code from the examples in the OGCIO-DS in your service.
15+
Once installed, you will be able to use the code from the examples in the Gov IE Design System in your service.
1616

1717
### 1. Install with npm (recommended)
1818

19-
We recommend [installing OGCIO-DS using node package manager
19+
We recommend [installing Gov IE Design System using node package manager
2020
(npm)](https://ogcio.github.io/ogcio-ds/?path=/docs/docs-install-with-npm--docs).
2121

2222
### 2. Install using compiled files
2323

24-
You can also install OGCIO-DS by [copying our CSS, JavaScript and asset files into your project](https://ogcio.github.io/ogcio-ds/?path=/docs/docs-install-using-precompiled-files--docs).
24+
You can also install Gov IE Design System by [copying our CSS, JavaScript and asset files into your project](https://ogcio.github.io/ogcio-ds/?path=/docs/docs-install-using-precompiled-files--docs).
2525

2626
## Accessibility
2727

28-
The OGCIO-DS team works hard to ensure that OGCIO-DS is accessible.
28+
The Gov IE DS team works hard to ensure that Gov IE DS is accessible.
2929

3030
Using Frontend will help your service meet [level AA of WCAG 2.1](https://www.w3.org/TR/WCAG21/). But you must still check that your service meets accessibility requirements, especially if you extend or modify components.
3131

3232
You should also use:
3333

34-
- [the JavaScript from OGCIO-DS](https://ogcio.github.io/ogcio-ds/?path=/docs/docs-import-css-assets-and-javascript--docs)
34+
- [the JavaScript from Gov IE DS](https://ogcio.github.io/ogcio-ds/?path=/docs/docs-import-css-assets-and-javascript--docs)
3535
- [a separate stylesheet](https://ogcio.github.io/ogcio-ds/?path=/docs/docs-support-internet-explorer-8--docs) if you support Internet Explorer 8
3636

37-
You can also read the [accessibility statement for OGCIO-DS](https://www.design-system.ogcio.gov.ie/accessibility/)
37+
You can also read the [accessibility statement for Gov IE DS](https://www.design-system.ogcio.gov.ie/accessibility/)
3838

3939
## Getting updates
4040

41-
To be notified when there’s a new release, you can [watch the ogcio-ds Github repository](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications#configuring-your-watch-settings-for-an-individual-repository)
41+
To be notified when there’s a new release, you can [watch the Gov IE DS Github repository](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications#configuring-your-watch-settings-for-an-individual-repository)
4242

4343
Find out how to [update with npm](https://ogcio.github.io/ogcio-ds/?path=/story/docs-update-with-npm--docs/).
4444

@@ -128,7 +128,7 @@ To uninstall Husky hooks, run the following command:
128128
npm run husky:uninstall
129129
```
130130

131-
## OGCIO-DS package publishing
131+
## Gov IE DS package publishing
132132

133133
- Use [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) and [squash commits](https://github.com/googleapis/release-please?tab=readme-ov-file#linear-git-commit-history-use-squash-merge) to `main`
134134
- Versioning and npm package publishing is handled by the [Release Please GitHub action](https://github.com/google-github-actions/release-please-action)
@@ -147,4 +147,4 @@ When changes are pushed to `main` branch on GitHub, [Github Actions][github-acti
147147

148148
## Contributing
149149

150-
Contributors to OGCIO repositories are expected to follow the [Contributor Guide](https://ogcio.github.io/ogcio-ds-website/help/how-to-contribute/).
150+
Contributors to Gov IE repositories are expected to follow the [Contributor Guide](https://ogcio.github.io/ogcio-ds-website/help/how-to-contribute/).

src/govie/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Structure
44

5-
OGCIO-DS is broken into a number of layers in order to help provide a
5+
Gov IE DS is broken into a number of layers in order to help provide a
66
logical structure, loosely following the conventions of [ITCSS].
77

88
1. [Settings](#settings)

src/govie/all.mjs

Lines changed: 76 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
import { nodeListForEach } from './common.mjs'
2-
import Accordion from './components/accordion/accordion.mjs'
3-
import Button from './components/button/button.mjs'
4-
import CharacterCount from './components/character-count/character-count.mjs'
5-
import Checkboxes from './components/checkboxes/checkboxes.mjs'
6-
import Details from './components/details/details.mjs'
7-
import ErrorSummary from './components/error-summary/error-summary.mjs'
8-
import Header from './components/header/header.mjs'
9-
import Navigation from './components/navigation/navigation.mjs'
10-
import NotificationBanner from './components/notification-banner/notification-banner.mjs'
11-
import ProgressStepper from './components/progress-stepper/progress-stepper.mjs'
12-
import Radios from './components/radios/radios.mjs'
13-
import SkipLink from './components/skip-link/skip-link.mjs'
14-
import StepByStepNav from './components/step-by-step-navigation/step-by-step-navigation.mjs'
15-
import Superheader from './components/superheader/superheader.mjs'
16-
import Tabs from './components/tabs/tabs.mjs'
17-
import Tick from './components/tick/tick.mjs'
18-
import Tooltip from './components/tooltip/tooltip.mjs'
1+
import { nodeListForEach } from './common.mjs';
2+
import Accordion from './components/accordion/accordion.mjs';
3+
import Button from './components/button/button.mjs';
4+
import CharacterCount from './components/character-count/character-count.mjs';
5+
import Checkboxes from './components/checkboxes/checkboxes.mjs';
6+
import Details from './components/details/details.mjs';
7+
import ErrorSummary from './components/error-summary/error-summary.mjs';
8+
import Header from './components/header/header.mjs';
9+
import Navigation from './components/navigation/navigation.mjs';
10+
import NotificationBanner from './components/notification-banner/notification-banner.mjs';
11+
import ProgressStepper from './components/progress-stepper/progress-stepper.mjs';
12+
import Radios from './components/radios/radios.mjs';
13+
import SkipLink from './components/skip-link/skip-link.mjs';
14+
import StepByStepNav from './components/step-by-step-navigation/step-by-step-navigation.mjs';
15+
import Superheader from './components/superheader/superheader.mjs';
16+
import Tabs from './components/tabs/tabs.mjs';
17+
import Tick from './components/tick/tick.mjs';
18+
import Tooltip from './components/tooltip/tooltip.mjs';
1919

2020
/**
2121
* Initialise all components
2222
*
2323
* Use the `data-module` attributes to find, instantiate and init all of the
24-
* components provided as part of OGCIO-DS.
24+
* components provided as part of Gov IE DS.
2525
*
2626
* @param {object} [config] - Config
2727
* @param {HTMLElement} [config.scope=document] - Scope to query for components
@@ -32,111 +32,111 @@ import Tooltip from './components/tooltip/tooltip.mjs'
3232
* @param {object} [config.notificationBanner] - Notification Banner config
3333
*/
3434
function initAll(config) {
35-
config = typeof config !== 'undefined' ? config : {}
35+
config = typeof config !== 'undefined' ? config : {};
3636

37-
// Allow the user to initialise OGCIO-DS in only certain sections of the page
37+
// Allow the user to initialise Gov IE DS in only certain sections of the page
3838
// Defaults to the entire document if nothing is set.
39-
var $scope = typeof config.scope !== 'undefined' ? config.scope : document
39+
var $scope = typeof config.scope !== 'undefined' ? config.scope : document;
4040

41-
var $accordions = $scope.querySelectorAll('[data-module="govie-accordion"]')
41+
var $accordions = $scope.querySelectorAll('[data-module="govie-accordion"]');
4242
nodeListForEach($accordions, function ($accordion) {
43-
new Accordion($accordion, config.accordion).init()
44-
})
43+
new Accordion($accordion, config.accordion).init();
44+
});
4545

46-
var $buttons = $scope.querySelectorAll('[data-module="govie-button"]')
46+
var $buttons = $scope.querySelectorAll('[data-module="govie-button"]');
4747
nodeListForEach($buttons, function ($button) {
48-
new Button($button, config.button).init()
49-
})
48+
new Button($button, config.button).init();
49+
});
5050

5151
var $iconButtons = $scope.querySelectorAll(
52-
'[data-module="govie-icon-button"]'
53-
)
52+
'[data-module="govie-icon-button"]',
53+
);
5454
nodeListForEach($iconButtons, function ($button) {
55-
new Button($button, config.button).init()
56-
})
55+
new Button($button, config.button).init();
56+
});
5757

5858
var $characterCounts = $scope.querySelectorAll(
59-
'[data-module="govie-character-count"]'
60-
)
59+
'[data-module="govie-character-count"]',
60+
);
6161
nodeListForEach($characterCounts, function ($characterCount) {
62-
new CharacterCount($characterCount, config.characterCount).init()
63-
})
62+
new CharacterCount($characterCount, config.characterCount).init();
63+
});
6464

65-
var $checkboxes = $scope.querySelectorAll('[data-module="govie-checkboxes"]')
65+
var $checkboxes = $scope.querySelectorAll('[data-module="govie-checkboxes"]');
6666
nodeListForEach($checkboxes, function ($checkbox) {
67-
new Checkboxes($checkbox).init()
68-
})
67+
new Checkboxes($checkbox).init();
68+
});
6969

70-
var $details = $scope.querySelectorAll('[data-module="govie-details"]')
70+
var $details = $scope.querySelectorAll('[data-module="govie-details"]');
7171
nodeListForEach($details, function ($detail) {
72-
new Details($detail).init()
73-
})
72+
new Details($detail).init();
73+
});
7474

7575
// Find first error summary module to enhance.
7676
var $errorSummary = $scope.querySelector(
77-
'[data-module="govie-error-summary"]'
78-
)
77+
'[data-module="govie-error-summary"]',
78+
);
7979
if ($errorSummary) {
80-
new ErrorSummary($errorSummary, config.errorSummary).init()
80+
new ErrorSummary($errorSummary, config.errorSummary).init();
8181
}
8282

8383
// Find first header module to enhance.
84-
var $header = $scope.querySelector('[data-module="govie-header"]')
84+
var $header = $scope.querySelector('[data-module="govie-header"]');
8585
if ($header) {
86-
new Header($header).init()
86+
new Header($header).init();
8787
}
8888

8989
// Find first header module to enhance.
90-
var $superheader = $scope.querySelector('[data-module="govie-superheader"]')
90+
var $superheader = $scope.querySelector('[data-module="govie-superheader"]');
9191
if ($superheader) {
92-
new Superheader($superheader).init()
92+
new Superheader($superheader).init();
9393
}
9494

9595
var $notificationBanners = $scope.querySelectorAll(
96-
'[data-module="govie-notification-banner"]'
97-
)
96+
'[data-module="govie-notification-banner"]',
97+
);
9898
nodeListForEach($notificationBanners, function ($notificationBanner) {
9999
new NotificationBanner(
100100
$notificationBanner,
101-
config.notificationBanner
102-
).init()
103-
})
101+
config.notificationBanner,
102+
).init();
103+
});
104104

105-
var $radios = $scope.querySelectorAll('[data-module="govie-radios"]')
105+
var $radios = $scope.querySelectorAll('[data-module="govie-radios"]');
106106
nodeListForEach($radios, function ($radio) {
107-
new Radios($radio).init()
108-
})
107+
new Radios($radio).init();
108+
});
109109

110110
// Find first skip link module to enhance.
111-
var $skipLink = $scope.querySelector('[data-module="govie-skip-link"]')
112-
new SkipLink($skipLink).init()
111+
var $skipLink = $scope.querySelector('[data-module="govie-skip-link"]');
112+
new SkipLink($skipLink).init();
113113

114-
var $tabs = $scope.querySelectorAll('[data-module="govie-tabs"]')
114+
var $tabs = $scope.querySelectorAll('[data-module="govie-tabs"]');
115115
nodeListForEach($tabs, function ($tabs) {
116-
new Tabs($tabs).init()
117-
})
116+
new Tabs($tabs).init();
117+
});
118118

119-
var $stepByStepNav = $scope.querySelector('#govie-step-by-step-navigation')
120-
new StepByStepNav($stepByStepNav).init()
119+
var $stepByStepNav = $scope.querySelector('#govie-step-by-step-navigation');
120+
new StepByStepNav($stepByStepNav).init();
121121

122122
var $progressSteppers = $scope.querySelectorAll(
123-
'[data-module="govie-progress-stepper"]'
124-
)
123+
'[data-module="govie-progress-stepper"]',
124+
);
125125
nodeListForEach($progressSteppers, function ($progressStepper) {
126-
new ProgressStepper($progressStepper).init()
127-
})
126+
new ProgressStepper($progressStepper).init();
127+
});
128128

129-
var $ticks = $scope.querySelectorAll('[data-module="govie-tick"]')
129+
var $ticks = $scope.querySelectorAll('[data-module="govie-tick"]');
130130
nodeListForEach($ticks, function ($tick) {
131-
new Tick($tick).init()
132-
})
131+
new Tick($tick).init();
132+
});
133133

134-
var $tooltips = $scope.querySelectorAll('[data-module="govie-tooltip"]')
134+
var $tooltips = $scope.querySelectorAll('[data-module="govie-tooltip"]');
135135
nodeListForEach($tooltips, function ($tooltip) {
136-
new Tooltip($tooltip).init()
137-
})
136+
new Tooltip($tooltip).init();
137+
});
138138

139-
new Navigation().init()
139+
new Navigation().init();
140140
}
141141

142142
export {
@@ -158,7 +158,7 @@ export {
158158
Tabs,
159159
Tick,
160160
Tooltip,
161-
}
161+
};
162162

163163
/**
164164
* Config for all components

src/govie/components/header/Header.stories.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
docs: {
88
description: {
99
component:
10-
'The OGCIO-DS header shows users that they are on gov.ie and which service they are using.',
10+
'The Gov IE DS header shows users that they are on gov.ie and which service they are using.',
1111
},
1212
},
1313
},

src/govie/templates/basic-page/BasicPage.stories.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Template = () => {
1919
2020
<head>
2121
<meta charset="utf-8">
22-
<title>OGCIO-DS</title>
22+
<title>Gov IE DS</title>
2323
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
2424
<meta name="theme-color" content="#0b0c0c">
2525
<meta http-equiv="X-UA-Compatible" content="IE=edge">

storybook/stories/api-reference/sass-api-reference.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ $govie-show-breakpoints: false;
431431
#### $govie-font-family-lato
432432

433433
List of font families to use if using Lato (the default font 'stack for
434-
OGCIO-DS)
434+
Gov IE DS)
435435

436436
#### Default value
437437

storybook/stories/get-started/configure-components-javascript.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Link } from '../components/Link.jsx';
55

66
# Configure components with JavaScript
77

8-
You can configure some of the components in OGCIO-DS to customise their behaviour.
8+
You can configure some of the components in Gov IE DS to customise their behaviour.
99

1010
You can configure a component by:
1111

0 commit comments

Comments
 (0)